-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cache not working in dev mode #74
Comments
Ok, so the problem here is that We must not redefine all the I think the sbt plugin refactoring has to be backed out, I can't see any way to fix it. What I'd really like to see is if we had something like: val DevRuntime = Config("dev-mode") extends Runtime Then we can: libraryDependencies += component("lagom-reloadable-server") % DevRuntime And then we can just interrogate the update report for the classpath in the |
James, thanks for raising this. I'm not sure what you mean with "I think the sbt plugin refactoring has to be backed out", but having dependencies simply scoped to |
Avoid redefining sbt update task for dev runtime configs. Fix #74
On master, the update cache is not working.
To illustrate, run chirper with Lagom 1.0.0-M1, using runAll. Then stop it. Then run runAll again. On the second run, every server should just start, without doing any resolving.
However, if using master, every project needs to be resolved every time you run
runAll
. Somehow the update cache isn't working.Further more, it appears to be updating every project twice in parallel - this could explain why the update cache isn't working, the parallel runs are probably invalidating each other:
This makes starting chirper very slow every time, not just the first time.
The text was updated successfully, but these errors were encountered: