reload d.ts modules in runtime #1963
Unanswered
jonnytest1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
wih node you can (while the server is still running)
do
delete require.cache[modulepath] require(modulepath)
to completely reload a module from the disk
but i didnt find any way to "unload" a .d.ts file 🤔maybe its also enough to restart the kanguage server if thats possible idk about the internals
Beta Was this translation helpful? Give feedback.
All reactions