Open aplex opened 1 year ago
This is problem for me as well. @nonara any ideas where to start digging to patch this?
I use tsc --watch
to evade rollup or other bundlers, to spam F5 faster :)
after update to recent version of typescript (5.4.x) watch is broken :(
Somehow it helps when I use import * as myLib from 'myLib'
, that way watch works fine in most cases.
Ha-ha, there was typescript service "run on recompile" enabled in my intellij idea. That was the cause
When I run the tsc --build, or "tsc --watch" compiles for the first time, everything works fine and import paths are rewritten correctly.
However, if I change a file in tsc watch mode, it is recompiled and import pa paths are left as is, without being converted to relative.
I'm using tspc with persistent patch mode.
versions:
tsconfig: