Skip to content

Commit

Permalink
[IMP] package: only watch static file
Browse files Browse the repository at this point in the history
Currently, every file is watched by the static server.
including typescript files and intermediary js files.
But the static server only cares about the bundle file
and demo files.

Part-of: #2200
  • Loading branch information
LucasLefevre authored and rrahir committed Mar 9, 2023
1 parent 47052ef commit 26e02e6
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-static": "live-server --open=demo --watch=build,demo",
"serve-static": "live-server --open=demo --watch=build/o_spreadsheet.js,demo",
"dev": "npm-run-all --print-label build --parallel server serve-static watch:*",
"server": "node tools/server/main.js",
"build:js": "tsc --module es6 --incremental",
Expand Down

0 comments on commit 26e02e6

Please sign in to comment.