summaryrefslogtreecommitdiffstats
path: root/scripts/debug.sh
diff options
context:
space:
mode:
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}