Use this on OS-X:
{ "cmd": ["tsc","$file"], "file_regex": "(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$", "selector": "source.ts", "osx": { "path": "/usr/local/bin:/opt/local/bin" } }
EDIT:
Here is the Sublime Build System created for Windows. Tested and works as expected. However, you need to include the tsc.cmd path in the Windows environment, otherwise you must define the root in the Typescript command in the cmd section below:
{ "cmd": ["tsc","$file"], "file_regex": "(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$", "selector": "source.ts", "windows": { "cmd": ["tsc.cmd", "$file"] } }
Simo Endre Oct 08 2018-12-12T00: 00Z
source share