adapt make_and_watch to typescript

This commit is contained in:
Oliver Blanthorn 2017-07-17 23:00:32 +01:00
parent 06e30c28f8
commit 6131677e76
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -1,10 +1,5 @@
#!/bin/sh
# Watches the current directory's .coffee files for timestamp changes and
# recompiles them as javascript.
coffee -cbwo ../ .
# TODO
# - integrate with flow (e.g. flow check --all)
# - need to figure out how to tell flow that the browser exists
# - alternatives: typescript, google closure
# Watches the current directory's .tsc files for timestamp changes and
# compiles them to javascript.
tsc --outDir "../" -w