aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 510c397..8aea40d 100644
--- a/makefile
+++ b/makefile
@@ -2,11 +2,11 @@ ESFLAGS = --target=esnext --format=esm
deploy-dir: deploy deploy/bundle.js deploy/style.css deploy/index.html deploy/fastbangs
-.PHONY: watch clean deploy-dir
+.PHONY: watch-script watch-style clean deploy-dir
watch-script: frontend/fuzzysort.js
esbuild frontend/main.ts --bundle --outfile=deploy/bundle.js $(ESFLAGS) --watch
watch-style:
- while true; do inotifywait -e modify -e move frontend/style.sass; make deploy/style.css; done
+ while true; do make deploy/style.css; inotifywait -e modify -e move frontend/style.sass; done
clean:
stack clean --full