Skip to content

Commit 9b2e31a

Browse files
committed
feat: always watch inertia directory via watcher
1 parent 385c21a commit 9b2e31a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/dev_server.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,11 @@ export class DevServer {
649649
if (!stats) {
650650
return false
651651
}
652+
653+
if (file.includes('inertia') && !file.includes('node_modules')) {
654+
return false
655+
}
656+
652657
if (stats.isFile()) {
653658
return !this.#fileSystem.shouldWatchFile(file)
654659
}

0 commit comments

Comments
 (0)