/traceurwatch

Tcl Scripts that watches for changes in es6 using traceur

Primary LanguageTcl

traceurwatch

traceurwatch watches for changes in a javascript file ( es6 ) when been transpiled to es5 , it uses traceur behind the hood

Usage

To watch just a single file

root@os: traceurwatch.tcl --file nameoffile.js --out outfile.js

if no outfile was specified it uses nameoffile.js as the outfile

To watch an entire directory

root@os: traceurwatch.tcl watchThisDir/:outputDir/

It works on both linux and osX that runs tcl8.6