madskristensen / WebEssentials2013

Visual Studio extension
http://vswebessentials.com
Other
944 stars 252 forks source link

VS2013 U2RC crash when saving TS files with minification enabled on compiled file #1002

Closed kamranayub closed 10 years ago

kamranayub commented 10 years ago

Windows 8.1 64-bit, VS2013 U2RC, WE 2.0.9 (also in 2.0)

This may be not exactly the issue but the issue went away after I disabled minification on save.

Essentially, create a TS project and configure to output to single file. Create a bunch of TS files. Verify "app.js" gets made at root.

Right-click app.js and have WE do Minify Javascript. It successfully minifies and creates min and min.map files.

Start making changes to the TS files and eventually VS will crash. This would happen typically after a few Ctrl-S saves on the files.

As soon as I disabled minify on save for TS, the issue went away, so I've kept it disabled.

You can reproduce using our public GH repo, use post-dare branch. For example I was editing Util.ts and the issue was occurring regularly. https://github.com/excaliburjs/ludum-29/tree/post-dare

am11 commented 10 years ago

This might get fixed by https://github.com/madskristensen/WebEssentials2013/commit/0a90338d888ab51a134f41ae50c77d3dd67940c7. It was committed after v2.0.9 release.

To get more details on what transpired earlier, see these related issues: #842 and https://typescript.codeplex.com/workitem/2470/.

kamranayub commented 10 years ago

Excellent, I'll be on the lookout.