Skip to content

Commit dad303f

Browse files
committed
fix: do not pass poll option to chokidar
1 parent 5c6965a commit dad303f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Server.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2173,6 +2173,10 @@ class Server {
21732173
interval,
21742174
};
21752175

2176+
if (finalWatchOptions.poll) {
2177+
delete finalWatchOptions.poll;
2178+
}
2179+
21762180
const chokidar = require("chokidar");
21772181
const watcher = chokidar.watch(watchPath, finalWatchOptions);
21782182

0 commit comments

Comments
 (0)