Loopback: Change the models folder structure
<p>I need change the models folder structure. According to the docs I can modify the json config file that by default is:</p>

<pre><code>{
  "_meta": {
    "sources": [
      "loopback/common/models/**/*",
      "loopback/server/models/**/*",
      "../common/models",
      "./models"
    ],
    "mixins": [
      "loopback/common/mixins",
      "loopback/server/mixins",
      "../common/mixins",
      "./mixins"
    ]
  },

  ...
}
</code></pre>

<p>I've been trying to change to:</p>

<pre><code>{
  "_meta": {
    "sources": [
      "loopback/common/models/**/",
      "loopback/server/models/**/*",
      "../common/models",
      "./models"
    ],
    "mixins": [
      "loopback/common/mixins",
      "loopback/server/mixins",
      "../common/mixins",
      "./mixins"
    ]
  },

  ...
}
</code></pre>

<p>But when I load the project, i get this error</p>

<pre><code>Error: Model not found:
</code></pre>

<p><strong>How to change the models default directory for models??</strong></p>