I have trouble with VS 2015 and Typescript compile on save. If I enable combine all outputs into one file that output file will not be updated on save. During build the file gets updated correctly.
Some times there is an error message in the status bar which states the .map file can't be written.
If i disable the one file option compile on save is working.
Is there any option to enable some logging so I could figure out what is going wrong?
Update: I was able to reproduce this with a new clean Project and also on another PC of a collegue with a completeely different existing project. So this seems to be a general bug.
Typescript is a superset of javascript but it is a strongly typed, object-oriented programming language. Typescript file does not run directly on the browser as javascript run, we have to compile the typescript file to the javascript then it will work as usual.
js”). Then after compiling the TypeScript code file into the JavaScript code file, it actually reads and interprets the JavaScript code. After interpreting the JavaScript code, the compiler compiles that code which thereafter produces the result.
Yes, I reproduced this too
You need to set full path for JavaScript file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With