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 or standard) 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 the dev command.
If it's not dev, show message "Restart sandbox ... in development mode to allow execution of dev command" and halt the dev command
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.dev
orstandard
) in.enonic
file once the sandbox is startedproject dev
command is executed, check sandbox mode.dev
, proceed to starting thedev
command.dev
, show message "Restart sandbox ... in development mode to allow execution ofdev
command" and halt thedev
command