summaryrefslogtreecommitdiffstats
path: root/scripts/debug.sh
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2021-10-29 16:52:15 +0300
committerJan Tuomi <jan.tuomi@valuemotive.com>2021-10-29 16:52:15 +0300
commite500394ed975055657fde19d3cd1c106888734b5 (patch)
tree56990da5fd026bc6321fef3bba113b0e486cc216 /scripts/debug.sh
parenta972058d20b773f4488df51babb40156c5a335e1 (diff)
Implement stuff
Diffstat (limited to 'scripts/debug.sh')
-rwxr-xr-xscripts/debug.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/debug.sh b/scripts/debug.sh
index 0ae14a3..711df8d 100755
--- a/scripts/debug.sh
+++ b/scripts/debug.sh
@@ -3,7 +3,8 @@
TOP_LEVEL="$(git rev-parse --show-toplevel)"
PORT="${1:-8001}"
-echo ":: Watching directory src/ and serving continuous builds on http://localhost:${PORT}"
+echo ":: Watching directory src/ and serving continuous builds on http://localhost:${PORT}."
+echo ":: Touch a file in src/ to compile & serve!"
-bash scripts/_build-and-serve.sh ${PORT}
+# bash scripts/_build-and-serve.sh ${PORT}
fswatch -or src | xargs -n1 -I{} bash scripts/_build-and-serve.sh ${PORT}