We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a33c35 commit d8813e2Copy full SHA for d8813e2
src/server/app.ts
@@ -65,7 +65,10 @@ export function startLocalChangeWatcher({
65
watchPath: string;
66
}) {
67
const wsServer = new WebSocketServer({ server });
68
- const watcher = chokidar.watch(watchPath);
+ const watcher = chokidar.watch(watchPath, {
69
+ ignored: /node_modules|\.git/,
70
+ persistent: true,
71
+ });
72
watcher.on("change", () => {
73
wsServer.clients.forEach((client) => {
74
if (client.readyState === WebSocket.OPEN) {
0 commit comments