Closed thomasdziedzic closed 3 weeks ago
I commented out my main module, then my lambda module, reran the command, it succeeded, and then the exact same command ran fine after I brought the code back in.. There might be some weird caching going on.
This is indeed a caching issue: Currently, in order to decide if a local package needs to be reinstalled, pack only checks the timestamps of all files in the source directory of a project against a timestamp file that is installed together with the local package. See Pack.Runner.Database.checkOutdated
.
In this particular case, when changing branches from master to test-failure, only the vla.ipkg
file changes, but none of the source files of the vla project. Therefore, the vla package is not being reinstalled.
I consider this a bug. At least a project's .ipkg
file should be among the files being included when checking for outdated files. I'll see if I can come up with a fix.
For the time being, as a workaround you can just touch
one of the source files or resave one of them from within your editor. This will then cause the package to be reinstalled.
This has been fixed in #280, so I'm going to close this. Feel free to reopen if this is still an issue.
I have a repro test branch here: https://github.com/thomasdziedzic/vla/tree/test-failure