Open ykan opened 8 years ago
Maybe just add this lines(lib/file-watch.js):
module.exports = function fileWatch (glob, opt) {
opt = assign({
ignored: opt.config.ignored || ignores, // add this
ignoreInitial: true
}, opt);
Where would I add this?
You may just add to ignored
to your .devtoolrc
file, like:
{
"ignored": ["tests/*.test.js"]
}
And modify lib/file-watch.js
file like this: https://github.com/Jam3/devtool/pull/87
I have some files built by gulp, then devtool reload a lot of times, it bothers me.....