watch
This commit is contained in:
15
justfile
15
justfile
@@ -1,9 +1,14 @@
|
|||||||
default: build
|
default: build
|
||||||
|
|
||||||
compile:
|
compile flags='':
|
||||||
tsc
|
tsc {{flags}}
|
||||||
|
|
||||||
bundle:
|
bundle flags='':
|
||||||
esbuild js/main.js --bundle --format=esm --platform=browser --target=esnext --sourcemap=inline --outfile=static/app.mjs
|
esbuild js/main.js --bundle --format=esm --platform=browser --target=esnext --sourcemap=inline --outfile=static/app.mjs {{flags}}
|
||||||
|
|
||||||
build: compile bundle
|
build:
|
||||||
|
just compile
|
||||||
|
just bundle
|
||||||
|
|
||||||
|
watch:
|
||||||
|
concurrently "just compile --watch" "just bundle --watch"
|
||||||
Reference in New Issue
Block a user