You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should TypeScript build task be a watch task? #29580
Currently the TypeScript build task is a normal compile. We could consider using a watch task instead since this gives us compile one save. Downside is that tsc -watch doesn't work well with large projects.
Dirk Bäumer (@dbaeumer) making tsc a watch task is appealing it basically corresponds 'compile on save'. Since tsconfig.json supports a compileOnSave attribute we could use this attribute to decide whether the task is a compile or a watch task.
Activity
[-]Should TypeScript build task be a watch task[/-][+]Should TypeScript build task be a watch task?[/+]egamma commentedon Jun 28, 2017
Dirk Bäumer (@dbaeumer) making tsc a watch task is appealing it basically corresponds 'compile on save'. Since tsconfig.json supports a
compileOnSaveattribute we could use this attribute to decide whether the task is a compile or a watch task.dbaeumer commentedon Jun 29, 2017
Erich Gamma (@egamma) I like that suggestion very much. I then propose that we look into this for June.
jens1o commentedon Jun 29, 2017
Dirk Bäumer (@dbaeumer) Do you mean July or can we expect that cool thing very soon? :)
First cut of watch for tsconfig task