add TypeScriptCompiler companion object
add watch method