Answer the question
In order to leave comments, you need to log in
How to configure --watch in webpack in Vue?
The project is built on Vue-cli, but there is no script for npm run watch, but only for run serve.
At the root is the vue.config.js config document.
How to make watch work? (e.g. when installing laravel+vue it comes out of the box)
Answer the question
In order to leave comments, you need to log in
Hello!)
--watch is available only for 'vue-cli-service build'
If you need to run the build in development mode, set the extra. flag:vue-cli-service build --watch --mode development
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question