-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
Description
Version
3.0.5
Node and OS info
Node 8.12.0 / yarn 1.10.1 / Ubuntu 18.04.1
Steps to reproduce
- Configure
package.json
with new command:"watch": "vue-cli-service build --no-clean --watch"
- Create
vue.config.js
file and setup the following:
module.exports = {
css: {
sourceMap: process.env.NODE_ENV !== 'production',
},
configureWebpack: config => {
config.watchOptions = {
aggregateTimeout: 500,
ignored: ['node_modules'],
};
}
};
- Run
yarn watch
- Make a change to any file under
node_modules
What is expected?
The watch should not try to build again because files under node_modules
should be ignored
What is actually happening?
Another build is running after changing a file under node_modules
alessionossa and bernardoadc