While working on a project using TypeScript, I've noticed that the files compile without any issues when using tsc with the watch flag to monitor changes. However, I have run into an issue where when I create a new file, tsc does not automatically detect it and compile it. I find myself having to manually restart the tsc process for it to pick up the new file. This behavior seems unusual for such a useful tool. Does anyone know of a workaround or solution that would allow tsc to recognize and compile newly created files without requiring a restart?
{
"compilerOptions": {
"module": "commonjs",
"sourceMap": true,
"target": "ES5",
"watch": true,
"project":"public/app/**/*.tsx",
"outDir": "public/dist",
"jsx": "react"
}
}