(feat) update imports for renames/moves files #113
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #111
This works, but it's really slow. It takes 30 seconds minimum to update the paths. The time is entirely spent in theUpdate: Bumping ts to version 3.9 did the trick. Luckily for us, the ts team did speed up that exact area drastically.getEditsForFileRename
of the ts language service. Is this always this slow or am I doing something wrong?I also did manage to speed up the tests quite a bit by adding a
tsconfig.json
to the testfiles folder. Before that the ts services inside the tests did know about the whole project with all its ts files, which lead to the slow tests.