Webstorm文件观察者无法正常工作

时间:2013-12-14 12:49:35

标签: typescript webstorm

我正在为Webstorm中的客户端编写Typescript。修改.ts文件后,filewatcher通常不会更改基础.js文件。它通常不会持续数小时。这使得调试非常困难。如何保存更改后,如何加快生成.js文件的速度。这是我的filewatcher配置:

enter image description here

1 个答案:

答案 0 :(得分:1)

这是因为您使用的是--out参数。尝试使用AMD进行更快速的单文件编译(https://github.com/basarat/grunt-ts#amd--requirejs-supporthttps://github.com/basarat/grunt-ts#advantage-of-using-amdloader-option

相关问题