rizer.spice.run_dev#

Launch the Rizer Spice backend and frontend dev servers together.

make spice needs to run two long-lived processes concurrently and stop both on Ctrl+C. The POSIX shell idiom for that (cmd1 & cmd2 & wait) only works when Make’s recipe is executed by a POSIX shell. GNU Make on Windows falls back to cmd.exe when no sh.exe is found on PATH; in cmd.exe, & is a plain sequential separator (not background) and wait is not a command, so the backend recipe runs forever in the foreground and the frontend never starts. This script replaces that shell logic so make spice behaves the same regardless of which shell backs Make’s recipes.

Functions#

main(→ int)

Start the backend and frontend dev servers and wait on both.

Module Contents#

rizer.spice.run_dev.main() int#

Start the backend and frontend dev servers and wait on both.

Stops both processes as soon as either one exits, so a crash or a Ctrl+C on either server does not leave the other dangling.