Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
# Autocompiles when saving changes
cleanup() {
trap - EXIT # Clear EXIT trap
rm -rf ./tmp # Delete transpiled code
clear # Clear screen
kill -- -$$ # Exit
}
trap cleanup EXIT # Execute cleanup on exit
tsc --watch & # Transpiling
sleep 5 # Wait for transpiling to start in watch mode
watchify ./tmp/* -o ./www/main.js > /dev/null # Browserify silently
trap - EXIT # Just to be sure