Skip to content

Commit c7d88b4

Browse files
committed
Include resi files as well.
1 parent f56854f commit c7d88b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/rescript-template-vite/vite.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ function rescript() {
2525
}
2626

2727
if (Array.isArray(config.server.watch.ignored)) {
28-
config.server.watch.ignored.push("**/*.res");
28+
config.server.watch.ignored.push("**/*.res?");
2929
} else {
30-
config.server.watch.ignored = ["**/*.res"];
30+
config.server.watch.ignored = ["**/*.res?"];
3131
}
3232
},
3333
configResolved: async function (resolvedConfig) {

0 commit comments

Comments
 (0)