Open maxandersen opened 2 years ago
p.s. restarting idea or reopen project sync works. So some kind of state is not updated right.
found the culprit - jetbrains save on focus change thus if you don't click into another file or view the content of file is not changed thus when jbang runs it can't yet see the files changes.
We should ensure that the files being editr are actually saved before trying to calculate dependencies.
I start with afile with:
I run sync and get picocli in dependencies. Great!
if I then add dependency:
and run sync again it keeps just adding picocli.
even delete all deps and it still add it.
so somehow it does not get dependencies correcly.