title: Watch and reload api folder in Vue Nuxt
body: <p>How to make nuxt watch for "non standard" directories and recompile / reload itself, and more specifically for dirs with additional server apis?</p>
  
  <p>I have my express api in <code>~/api/</code>. Since I reference the directory in <code>serverMiddleware</code> with '~/api', I would expect Nuxt to reload when I make some changes to the files in that dir, but it doesn't.</p>
  
  <p>I'm simply using npm run dev that fires nuxt, I don't have any direct control on either <strong>nodemon</strong> (if it's used internally) or on <strong>webpack</strong> (that I'm pretty sure is). I tried adding <code>watch: [ '~/api/*.js']</code>, <code>watch: [ '~/api/index.js']</code>, <code>watch: [ '~/api/**/*.js']</code> to build in <code>nuxt.conf.js</code> but with no luck.</p>