Skip to content

Commit

Permalink
Update server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
xHomu committed Aug 17, 2023
1 parent de68af6 commit 145944b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ function createDevRequestHandler(): RequestHandler {

chokidar
.watch(WATCH_PATH, {
// Chokidar settings to avoid certain race condition issues #6831
ignoreInitial: true,
// Chokidar settings to avoid certain race condition issues #6831
awaitWriteFinish: { stabilityThreshold: 200 },
})
.on("add", handleServerUpdate)
.on("change", handleServerUpdate);
Expand Down

0 comments on commit 145944b

Please sign in to comment.