This PR allows passing the --force flag to the build command to allow users to break the lock.
It also downloads the lockfile when an upload is attempted and found.
Example output:
$ pipenv run pxl build
Building site...
Lock exists, aborting.
The state was locked by stef@Uitkijkpop on 2019-09-08 18:41:15.
Pass --force to ignore this.
$ pipenv run pxl build --force
Building site...
Breaking a lock set by stef@Uitkijkpop on 2019-09-08 18:41:15.
Done.
# No lock anymore
$ pipenv run pxl build --force
Building site...
Done.
This PR allows passing the
--force
flag to thebuild
command to allow users to break the lock. It also downloads the lockfile when an upload is attempted and found.Example output: