Watch and reload api folder in Vue Nuxt
问题 How to make nuxt watch for "non standard" directories and recompile / reload itself, and more specifically for dirs with additional server apis? I have my express api in ~/api/ . Since I reference the directory in serverMiddleware with '~/api', I would expect Nuxt to reload when I make some changes to the files in that dir, but it doesn't. I'm simply using npm run dev that fires nuxt, I don't have any direct control on either nodemon (if it's used internally) or on webpack (that I'm pretty