简体   繁体   中英

Typescript edit and continue visual studio 2015

I am using Visual Studio 2015 CTP5, and while running the project I am unable to edit typescript, resulting in the error alert box

---------------------------
Microsoft Visual Studio
---------------------------
Edit and Continue

Changes are not allowed while code is running.
---------------------------
OK   
---------------------------

Edit and continue worked fine for typescript in VS 2013. Is there an option to enable, or workaround for this to work in VS 2015? As it stands, VS15 is too cumbersome to use for typescript development.

Edit: As far as I can tell, this is not fixable at the moment, and the issue is currently on Uservoice

Okay so the only workaround (or quasi-workaround, I guess) I have found so far is this: Visual Studio locking files while debugging .

They suggest while debugging to break all. This does indeed allow me to edit the code and then hitting play resumes the program and allows me to view changes.

It's not ideal, but it's slightly more convenient than having to recompile the whole thing. Still searching for a foolproof way to get around this without having to do anything else than saving, but this works okay for now.

Shortcuts help ease the pain. Ctrl + Alt + Break pauses it so you can edit, F5 brings you back out of it and runs the server again.

I'd rather deal with this than the buggy compile on save in VS 2013. Hopefully this gets fixed soon.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM