Skip to content

Should TypeScript build task be a watch task? #29580

Closed

Description

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.

Erich Gamma (@egamma) do you have a opinion ?

Activity

  1. changed the title [-]Should TypeScript build task be a watch task[/-] [+]Should TypeScript build task be a watch task?[/+] on Jun 27, 2017
  2. added
    typescript
    on Jun 27, 2017
  3. egamma commented on Jun 28, 2017

    @egamma
    Member

    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.

  4. dbaeumer commented on Jun 29, 2017

    @dbaeumer
    MemberAuthor

    Erich Gamma (@egamma) I like that suggestion very much. I then propose that we look into this for June.

  5. jens1o commented on Jun 29, 2017

    @jens1o
    Contributor

    Dirk Bäumer (@dbaeumer) Do you mean July or can we expect that cool thing very soon? :)

  6. added
    plan-item
    on Jul 14, 2017
  7. locked and limited conversation to collaborators on Nov 17, 2017
  8. added a commit that references this issue on Sep 6, 2026
    a4b4ca8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

plan-itemtypescript

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions