Skip to content

Avoid updating snapshots in continuous run mode #1446

@mariussoutier

Description

@mariussoutier

Hi,

first off, I'm not sure if this is related rather to sbt or Play, so please give me an indication where this problem might be rooted.

When developing client-side-heavy apps with Play, I'm usually running Play in continuous mode ( sbt ~run) and make many small changes that get reflected in the browser instantly via play-autorefresh. I have a couple of snapshot dependencies, and these are checked again and again when recompiling code or assets.

Especially if I have multiple sbt processes running, one that is checking snapshots for the 1000th time can block the others with the dreaded Waiting for lock on ~/.ivy2/.sbt.ivy.lock to be available....

My guess is that this error stems from the fact that compile depends on update, but it is driving me insane, and stands in stark contrast to the otherwise wonderful development experience that is Play and sbt.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions