watch
This commit is contained in:
15
justfile
15
justfile
@@ -1,9 +1,14 @@
|
||||
default: build
|
||||
|
||||
compile:
|
||||
tsc
|
||||
compile flags='':
|
||||
tsc {{flags}}
|
||||
|
||||
bundle:
|
||||
esbuild js/main.js --bundle --format=esm --platform=browser --target=esnext --sourcemap=inline --outfile=static/app.mjs
|
||||
bundle flags='':
|
||||
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