Skip to content

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

Closed

Description

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

Activity

  1. macromaniac commented on Oct 28, 2015

    @macromaniac
    Author

    Did not search well enough, #5275 should fix

  2. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions