Don't halt `project dev` command if the sandbox is already running
Closed this issue · 0 comments
alansemenov commented
Currently project dev
command halts with message "Sandbox ... is already running", if the project's sandbox is already running.
We should allow this to support cases when users want run the sandbox in a separate terminal window to access the xp logs.
- Store sandbox mode (
dev
orstandard
) in.enonic
file once the sandbox is started - If the sandbox is running when
project dev
command is executed, check sandbox mode. - If it's
dev
, proceed to starting thedev
command. - If it's not
dev
, show message "Restart sandbox ... in development mode to allow execution ofdev
command" and halt thedev
command