Skip to main content

dev_with_shutdown

Function dev_with_shutdown 

Source
pub fn dev_with_shutdown(
    opts: DevOptions,
    shutdown_flag: Arc<AtomicBool>,
) -> Result<(), OsedaDevError>
Expand description

Run in dev mode, with auto-reload on save, with a shutdown flag

§Arguments:

  • opts - options for subcommand
  • shutdown_flag - Arc to kill process

§Returns

  • Ok() on success
  • Err on any issue related to running oseda in dev mode