ts-browser icon indicating copy to clipboard operation
ts-browser copied to clipboard

Release web workers after compilation is finished

Open klesun opened this issue 6 months ago • 0 comments

I just noticed that workers keep hanging in the background even after all typescript files were loaded. I believe that wastes away a lot of RAM, as each worker initializes the typescript compiler. image

The only reason we may want to keep workers around is the dynamic imports. Maybe use cold re-start of workers in such cases or just compile in the main thread, dunno...

klesun avatar Aug 09 '24 14:08 klesun