From 6131677e76ef93136f05a640432ccf2e86b2fff1 Mon Sep 17 00:00:00 2001 From: Oliver Blanthorn Date: Mon, 17 Jul 2017 23:00:32 +0100 Subject: [PATCH] adapt make_and_watch to typescript --- addon/src/make_and_watch | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/addon/src/make_and_watch b/addon/src/make_and_watch index 1d4e06b3..b96d15be 100755 --- a/addon/src/make_and_watch +++ b/addon/src/make_and_watch @@ -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