-
Notifications
You must be signed in to change notification settings - Fork 203
Multiple tsconfig.json files - files section no longer updated #708
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
Comments
This seems to be a wider problem. I have a project where none of the tsconfig files entries are being populated. Same general entries and it was working before the latest updates so I don't think it's the tsconfig file. |
Yup, I'm seeing the same problem here, Atom 1.2.0-beta-0 atom-typescript 7.8.0 |
@LivesleyWA try running Does that fix it? |
I have a structure
By default, the lib tsconfig file is populating the files entry automatically whilst the test tsconfig file is not. For a number of reasons to do with Webstorm (used for testing nodejs apps) test tsconfig contains references to lib folders (Webstorm can't handle more than one tsconfig file and seems to find the test tsconfig file). So test tsconfig has the following "filesGlob": [ After a bit of fiddling I have found that to regenerate test tsconfig
Once the test tsconfig file is synched, it continues to work, although the lib tsconfig file then stops updating the files entries. If I shut down Atom and restart, the synching reverts to the lib tsconfig file. Hope this helps. Now I know the trick I at least have a workable work-around. |
This is by design. We cache the contents of An ideal solution would be to force the user to select the tsconfig they are working with upfront, or provide an option for sticky current project 🌹 |
Yes, would be nice to have manual control over the active tsconfig. |
I'm using version 8.5.0 of atom-typescript. I have several tsconfig.json files in my project, which has several aggregated micro-services,
The tsconfig files also reference some shared files in:
I've found that sometimes the tsconfig.json updating works fine, Unfortunately, I haven't found any clues to what triggers this behavior. |
If you open a file from FixWe need a project selector. I'll create an issue documenting this fact. |
I've created an issue for discussion : #910 🌹 |
I have a project with two tsconfig.json files. Used to update the files section of both. No longer works - one does the other does not.
The text was updated successfully, but these errors were encountered: