Skip to content

Commit 385c21a

Browse files
committed
feat: always watch inertia app via hot-hook
1 parent 30b50c4 commit 385c21a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/dev_server.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,9 @@ export class DevServer {
609609
this.options.env = {
610610
...this.options.env,
611611
HOT_HOOK_INCLUDE: this.#fileSystem.includes.join(','),
612-
HOT_HOOK_IGNORE: this.#fileSystem.excludes.join(','),
612+
HOT_HOOK_IGNORE: this.#fileSystem.excludes
613+
.filter((exclude) => !exclude.includes('inertia'))
614+
.join(','),
613615
HOT_HOOK_RESTART: (this.options.metaFiles ?? [])
614616
.filter(({ reloadServer }) => !!reloadServer)
615617
.map(({ pattern }) => pattern)

0 commit comments

Comments
 (0)