Detect develop mode from the command line option `--dev`.
Performs build workflow for hof apps in prod and development