TypeScript “Compile on save” feature not working in Visual Studio 2015

前端 未结 13 923
无人共我
无人共我 2020-12-02 17:49

The \"Compile on save\" feature isn\'t working for me after upgrading to Visual Studio 2015. When I make a change to a .ts file in my project and save, the sta

13条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-02 18:23

    For me it was this option in tsconfig.json:

    "compileOnSave": true,
    "compilerOptions": { ... },
    

    Restart Visual Studio for this change to take effect.

提交回复
热议问题