Skip to content

Commit 3e8febb

Browse files
committed
testOnly
1 parent ad6fb10 commit 3e8febb

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

DirectoryWatcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ class DirectoryWatcher extends EventEmitter {
543543
process.nextTick(() => {
544544
if (this.closed) return;
545545
fs.readdir(this.path, (err, items) => {
546-
console.error(">>> 2", this.path, err, this.closed);
546+
throw new Error(">>> 2", this.path, err, this.closed);
547547

548548
if (this.closed) return;
549549
if (err) {

webpack.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
// ... existing code ...
3+
watchOptions: {
4+
ignored: ['**/System Volume Information/**', '**/node_modules/**'],
5+
poll: 1000 // Check for changes every second
6+
}
7+
// ... existing code ...
8+
}

0 commit comments

Comments
 (0)