mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
ignore node_modules in watch
This commit is contained in:
@@ -81,7 +81,7 @@ module.exports = function (config) {
|
||||
logLevel: config.LOG_INFO,
|
||||
|
||||
// enable / disable watching file and executing tests whenever any file changes
|
||||
autoWatch: true,
|
||||
autoWatch: false,
|
||||
|
||||
// start these browsers
|
||||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
||||
@@ -176,6 +176,11 @@ module.exports = function (config) {
|
||||
fs: 'empty'
|
||||
}
|
||||
},
|
||||
webpackMiddleware: {
|
||||
watchOptions: {
|
||||
ignored: [/\/\./, 'node_modules']
|
||||
}
|
||||
},
|
||||
proxies: {
|
||||
'/js/': '/base/node_modules/sql.js/dist/'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user