sh.sh (449B)
1 # for non-Nix systems: 2 # running sh.sh will make a nice dev env with preview and auto-rebuild. 3 # for Nix systems, this script isn't necessary - 4 # cd'ing into the directory will set up the server, 5 # and "autorebuild" will start the rebuild process in the background 6 $TERMINAL -e caretaker &>/dev/null & disown 7 $TERMINAL -e python3 -m http.server --directory build &>/dev/null & disown 8 $TERMINAL -e $BROWSER http://localhost:8000 &>/dev/null & disown