mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
Use chokidar to watch for json file changes a run the copy asset script.
This commit is contained in:
parent
0eea3e98ec
commit
f09ded2744
@ -45,7 +45,7 @@
|
||||
"dev:modules": "npm run build:modules -- --watch",
|
||||
"dev:canvas": "concurrently \"npm run build:canvas:iife -- --watch\" \"npm run build:canvas:esm -- --watch\"",
|
||||
"dev:canvaskit": "concurrently \"npm run build:canvaskit:iife -- --watch\" \"npm run build:canvaskit:esm -- --watch\"",
|
||||
"dev:construct3": "concurrently \"npm run build:construct3-lib -- --watch\" \"tsc-watch --project spine-construct3/tsconfig.json --onCompilationComplete \\\"npm run build:construct3:copy-assets\\\"\" \"chokidar \\\"spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js\\\" -c \\\"npx copyfiles -u 4 spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js spine-construct3/dist/c3runtime\\\" --initial\"",
|
||||
"dev:construct3": "concurrently \"npm run build:construct3-lib -- --watch\" \"tsc-watch --project spine-construct3/tsconfig.json --onCompilationComplete \\\"npm run build:construct3:copy-assets\\\"\" \"chokidar \\\"spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js\\\" -c \\\"npx copyfiles -u 4 spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js spine-construct3/dist/c3runtime\\\" --initial\" \"chokidar \\\"spine-construct3/src/**/*.json\\\" \\\"spine-construct3/src/**/*.svg\\\" -c \\\"npm run build:construct3:copy-assets\\\" --initial\"",
|
||||
"dev:webgl": "concurrently \"npm run build:webgl:iife -- --watch\" \"npm run build:webgl:esm -- --watch\"",
|
||||
"dev:phaser-v3": "concurrently \"npm run build:phaser-v3:iife -- --watch\" \"npm run build:phaser-v3:esm -- --watch\"",
|
||||
"dev:phaser-v4": "concurrently \"npm run build:phaser-v4:iife -- --watch\" \"npm run build:phaser-v4:esm -- --watch\"",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user