When a TypeScript file is nested below a .aspx page, when making changings to the .ts file, then clicking save, the corresponding .js file is not compiled/replaced.
Un-nesting the file resolves the issue.
Steps to recreate
Create a Web Form in a C# Web Project, framework 4.6.2, name it Default.aspx.
Create a TypeScript file, name it Default.ts.
Add a line of code to the .ts file, e.g., console.log("1");
A .js file is compiled and saved. Correct response.
Alter the line in .ts to console.log("1 2");
.js file is correctly updated.
File nest Default.ts under Default.aspx
Alter the line in .ts to console.log("1 2 3");
.js files is "not" saved/updated/compiled.
Unnest Default.ts.
Alter the line in .ts to console.log("1 2 3 4");
.js file is updated with last 2 edits.
Current behavior
Nested .ts files not compiling on save when nested under a Web Form,
Installed product versions
Description
When a TypeScript file is nested below a .aspx page, when making changings to the .ts file, then clicking save, the corresponding .js file is not compiled/replaced.
Un-nesting the file resolves the issue.
Steps to recreate
Current behavior
Nested .ts files not compiling on save when nested under a Web Form,
Expected behavior
To update the .js file when nested.