Skip to content

Recompiling a ts file after changing the case of the filenames does not propogate the case change #5434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
macromaniac opened this issue Oct 28, 2015 · 1 comment

Comments

@macromaniac
Copy link

Howdy,

I have a file called "Example.ts", I compile it, then I rename it to "example.ts" and re-compile.

The javascript files that get output remain "Example.js".

I expect my rename to propagate to my .js files.

The bug can get particularly ugly in visual studio, here is an example video:

https://www.youtube.com/watch?v=7cYQqvBSXPQ&feature=youtu.be

Here is my tsc:

{
  "compilerOptions": {
  "noImplicitAny": false,
  "noEmitOnError": true,
  "removeComments": false,
  "sourceMap": true,
  "target": "es6"
},
  "exclude": [
    "node_modules",
    "wwwroot"
  ]
}

am using tsc 1.6.2

@macromaniac
Copy link
Author

Did not search well enough, #5275 should fix

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant