diff options
author | Joris | 2020-02-03 18:28:50 +0100 |
---|---|---|
committer | Joris | 2020-02-03 18:28:50 +0100 |
commit | cbcc269be607cc964fbd69d179d8a0e8b8e4bffa (patch) | |
tree | 7a8135f7ede7e1ff02bc1cf1d697a8c39a56e962 /dev | |
parent | c7e20a6dd01a2ae049c451d18511708aaee60a19 (diff) |
Extract dom and number utilities to external files
Diffstat (limited to 'dev')
-rwxr-xr-x | dev | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -2,6 +2,7 @@ cd "$(dirname $0)" CMD="$1" PROJECT="cooking" +export DEV_MODE=true if [ "$CMD" = "start" ]; then @@ -13,20 +14,15 @@ elif [ "$CMD" = "stop" ]; then elif [ "$CMD" = "watch-ts" ]; then - tsc \ - --watch \ - --pretty \ - --sourceMap \ - --strict \ - --noUnusedLocals \ - --noUnusedParameters \ - --noImplicitReturns \ - --outDir static \ - main.ts + rm -f static/main.js + + while true; do + find src | entr -d -s "clear && make static/main.js" + done else - echo "Usage: $0 start|stop|watch-ts" + echo "Usage: $0 start|stop|watch-frontend" exit 1 fi |