Having trouble excluding certain files from my TypeScript compilation due to temporary files created by my editor. My tsconfig.json file includes:
"exclude": ["*flycheck*", "**/*flycheck*"]
Currently using tsc --watch for monitoring changes and compiling.
Everything runs smoothly until I introduce a baseUrl into the configuration, like this:
"baseUrl": "src",
The reason behind using baseUrl is to have absolute import paths instead of relative ones.
I've attempted adjusting the exclude patterns but can't seem to make TypeScript ignore these files when a baseUrl is in place. Any idea why file exclusions might not work with a baseUrl?