Build: watch and dev mode webpack improvements (#18153)

* Ignore `node_modules` in watch mode

* Simplify development setup
This commit is contained in:
Oleg Gaidarenko authored and GitHub committed 2019-07-20 07:46:41 +03:00
1 parent bc0da1bbfc
commit eac1459832
4 files changed
+12 -3

No files matched your search

+5
View File
@@ -19,6 +19,11 @@ module.exports = merge(common, {
light: './public/sass/grafana.light.scss',
},
// If we enabled watch option via CLI
watchOptions: {
ignored: /node_modules/
},
module: {
rules: [
{