File start-server from the latest check-in
#!/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/