Update npm dev task so it doesn’t watch the client folder

(This was causing server rebuilds on client-side changes and thus breaking hot module reloading.)
parent e50960c5
......@@ -23,7 +23,7 @@
},
"scripts": {
"build": "nuxt build",
"dev": "DEBUG=nuxt:* nodemon --watch client/ --watch server/ --watch config/ --watch nuxt.config.js server/index.js",
"dev": "DEBUG=nuxt:* nodemon --watch server/ --watch config/ --watch nuxt.config.js server/index.js",
"prestart": "npm run build",
"start": "NODE_ENV=production node server/",
"test": "npm run -s mocha",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment