Artifact 101b514d4c73d4bfd1c2b297d85592177e9a60f3720b215f0f5e72d84fdab32f:
- Executable file start-server — part of check-in [5dfe905893] at 2023-03-18 18:05:18 on branch trunk — Project file/folder reorg, add static assets (user: joel size: 349)
#!/bin/zsh
#
# Start a local project web server
function finish {
printf "\nKilling fswatch [PID %s]" $watcher_pid
kill -KILL $watcher_pid 2> /dev/null
}
trap finish EXIT
# Watch local folder for changes, run "make web -j 8" every time
fswatch -I .rkt -o ./ | xargs -n1 -I{} make web -j 8 &
watcher_pid=$!
raco static-web -l -d publish/