Add a watch mode
See original GitHub issueWhat problem does this feature solve?
Sometimes you don’t want to serve html and other build files with integrated serve
command.
Requirements
watch
command option needs to take into account vue.config.js
’s outputDir
or --dest
. (I’m guessing this would work out of the box even). I think it’s actually same as running webpack-cli
with webpack --watch
.
Would you be willing to merge a PR that adds this command / command option?
What does the proposed API look like?
vue-cli-service watch
or (preferably)
vue-cli-service build --watch
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:26 (9 by maintainers)
Top Results From Across the Web
Using watch mode - Rush.js
Watch mode for phased commands. In your command-line.json config file, add the new watchOptions section to each phased command you want to enable....
Read more >Watch and WatchOptions | webpack
In webpack-dev-server and webpack-dev-middleware watch mode is enabled by default. watchOptions. object. A set of options used to customize watch mode: webpack.
Read more >Set up and pair your Apple Watch with iPhone
Tap Add Watch, then follow the onscreen instructions. See the Apple Support article Use more than one Apple Watch with your iPhone. To...
Read more >Set up your watch - Android - Wear OS by Google Help
On your phone, open Wear OS Wear OS by Google . · Next to the connected watch's name, tap the Down arrow Drop...
Read more >Watch Mode - StealJS
steal-tools includes a watch mode (using the --watch flag in the cli) in its build command (also known as continuous builds).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I met two problems with
vue-cli-service build --watch --mode development
.[hash].hot-update.json
are being generated:dashboard.js
is supposed to be put intopublic/js
dir, but it’s inpublic/
now.Here’s my
vue.config.js
:With version 3.0.3
Sure, we can take a PR for
build --watch