Skip to content

Commit

Permalink
[FIX] server: server checking the wrong dir to watch for changes
Browse files Browse the repository at this point in the history
Now the code is compiled in the `build/` directory; but the server still
was checking the old `dist/` directory to watch for changes.

closes #2130

Signed-off-by: Rémi Rahir (rar) <[email protected]>
  • Loading branch information
hokolomopo committed Mar 1, 2023
1 parent 30929e4 commit c6ba0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dist/*.d.ts"
],
"scripts": {
"serve": "live-server --open=demo --watch=dist,demo",
"serve": "live-server --open=demo --watch=build,demo",
"dev": "npm-run-all build --parallel server serve \"build:* -- --watch\"",
"server": "node tools/server/main.js",
"build:js": "tsc --module es6 --incremental",
Expand Down

0 comments on commit c6ba0b0

Please sign in to comment.