https://kotlinlang.org logo
#scripting
Title
# scripting
z

Zac Sweers

07/07/2022, 4:07 PM
anyone found that importing other local files from kscripts doesn’t appear to pick up changes in those files? I’m trying to understand where kotlin caches this and how to invalidate it (other than just editing the main kts file that calls it)
j

Javier

07/07/2022, 5:25 PM
IDE issue
z

Zac Sweers

07/07/2022, 5:25 PM
it is not
if I fix a bug in the imported file, the command line run of the main file still fails with the old bug until I force it to also be recompiled
j

Javier

07/07/2022, 5:26 PM
Weird, I have seen issues with the IDE but after running via cli it works
don't remember where the cache is (maybe .konan)
I think I asked long time ago and it can be changed with an environment variable
4 Views