webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

TypeScript not actively updating

Open CodeSmith32 opened this issue 3 months ago • 0 comments

Describe the bug

I modify one file, say a.ts - add a new export, change some types, etc. - and then jump back to another file, say b.ts, but the definitions for a.ts don't update when working in b.ts. I literally have to save and refresh the page to get it to work.

Link to the blitz that caused the error

https://stackblitz.com/edit/inversify-singleton-fix-auvc2axx-b7esaz1-uxb25nxq?file=main.ts,di.ts

Steps to reproduce

  1. Create two ts files, one that imports the other.
  2. Add some exports to the imported file.
  3. The file with the import does not update.

Expected behavior

TypeScript should update for all files when any file is changed.

Parity with Local

Screenshots

Image Image

Platform

Browser name  = Chrome
Full version  = 140.0.0.0
Major version = 140
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 633067761,
  "usedJSHeapSize": 583696413,
  "jsHeapSizeLimit": 2248146944
}
Hash = 96435430

Additional context

(Browser is specifically Brave)

CodeSmith32 avatar Sep 05 '25 18:09 CodeSmith32