We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45f32b6 commit 0216b29Copy full SHA for 0216b29
.changeset/fair-tables-confess.md
@@ -0,0 +1,5 @@
1
+---
2
+"treeground": patch
3
4
+
5
+fix: also build on scanner.c change
src/websocket.ts
@@ -45,7 +45,8 @@ export default partyHandler({
45
watcher.on("change", (filePath) => {
46
for (const folder of grammars) {
47
if (filePath.startsWith(folder)) {
48
- if (path.basename(filePath) === "grammar.js") {
+ const fileName = path.basename(filePath);
49
+ if (fileName === "grammar.js" || fileName === "scanner.c") {
50
clearTimeout(builds[folder]);
51
builds[folder] = setTimeout(() => {
52
generateNbuildWasm(folder, party)
0 commit comments