serverless-plugin-typescript icon indicating copy to clipboard operation
serverless-plugin-typescript copied to clipboard

Watch files is too slow

Open andreanaya opened this issue 10 months ago • 0 comments

This is probably related to this issue https://github.com/serverless/serverless-plugin-typescript/issues/220

However I found that running const newWatchFiles = typescript.getSourceFiles(rootFileNames, tsConfig) on every file change takes too long depending on the codebase.

I understand this is to watch/unwatch files to be compiled, however in the majority of cases the files to be watched don't change. If the watch/unwatch process can run in parallel, it would improve productivity significantly.

Thank you

andreanaya avatar Jan 21 '25 14:01 andreanaya