Reputation: 2328
I have the following scripts setup in my package.json
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"dev": "vue-cli-service build --mode development",
"lint": "vue-cli-service lint",
"watch": "npm-watch"
},
"watch": {
"build": {
"patterns": [
"src"
],
"extensions": "js,jsx,vue,css"
}
},
Now I want to run npm-watch
in development mode
, but I don't know how to do it. I didn't find anything here: https://github.com/M-Zuber/npm-watch
Upvotes: 0
Views: 719
Reputation: 2328
Well, it was as simple as adding dev
after npm-watch
:
"watch": "npm-watch dev"
Upvotes: 0