madskristensen / FileNesting

Nest files in Solution Explorer
Other
119 stars 59 forks source link

Nested TypeScript to .aspx file does not compile to .js file on save. #74

Open JayHayman opened 7 years ago

JayHayman commented 7 years ago

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

  1. Create a Web Form in a C# Web Project, framework 4.6.2, name it Default.aspx.
  2. Create a TypeScript file, name it Default.ts.
  3. Add a line of code to the .ts file, e.g., console.log("1");
  4. A .js file is compiled and saved. Correct response.
  5. Alter the line in .ts to console.log("1 2");
  6. .js file is correctly updated.
  7. File nest Default.ts under Default.aspx
  8. Alter the line in .ts to console.log("1 2 3");
  9. .js files is "not" saved/updated/compiled.
  10. Unnest Default.ts.
  11. Alter the line in .ts to console.log("1 2 3 4");
  12. .js file is updated with last 2 edits.

Current behavior

Nested .ts files not compiling on save when nested under a Web Form,

Expected behavior

To update the .js file when nested.