vuejs-templates / webpack

A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
MIT License
9.7k stars 4.38k forks source link

sloves #96: ignore node_modules/ watching ² #1442

Open Leo-Nicolle opened 6 years ago

Leo-Nicolle commented 6 years ago

See https://webpack.js.org/configuration/watch/#not-enough-watchers This kind of solve the problem, even if I agree with @luaz : it would be better to just warn the user and cancel the watch task, but I have found nothing in the doc of webpack about how to cancel a build.

I would understand that you would not merge this: it forces users to re-start webpack after installing or updating a package, but it prevents from a silent error.