Skip to content

VS2015 RTM: Compile on save does not work when redirect JavaScript output is specified #3939

@sgreer

Description

@sgreer

Hello,

I upgraded to Visual Studio 2015 Community Edition RTM today and have found that if a TypeScript project has the "Redirect JavaScript output to directory" option set to true, then compile on save no longer functions. Deselecting this option on the project causes compile on save to function as expected.

The repro is quite simple: create a new project of type "HTML Application with TypeScript". Open app.ts, make a change and save the file. Now open app.js, make a change to the app.ts and save - app.js is reloaded with the changes.

Now add a folder to the project named "Scripts" and change the project properties such that "Redirect JavaScript output to directory" is checked and the path is "./scripts". Make a change to app.ts and save the file. Note that app.js does not show up under the "Scripts" folder. Build the project and note that app.js now appears under the "Scripts" folder. Open this file, make a change to app.ts and save the file - /scripts/app.js is not updated.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueHigh Priority

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions