Skip to content

dev / build / test / lint / run

Terminal window
turnout dev [APP]
turnout build [APP]
turnout test [APP]
turnout lint [APP]
turnout run COMMAND [APP]

Runs the app’s named command in its project directory - no cd required. dev, build, test and lint are shortcuts for the standard commands; run executes any command defined in the app config (see turnout app).

  • App resolution. Pass the app name, or omit it and let turnout find the app whose directory contains your current one - turnout dev from anywhere inside the project just works. Outside any known project a terminal gets a picker instead of an error.
  • Transparent output. The command’s stdout/stderr stream through untouched; turnout’s own one-line status goes to stderr.
  • Exit codes pass through. turnout build exits with the build’s own code, so it drops into scripts and CI without surprises.
  • Ctrl+C is clean. The interrupt goes to the tool itself; turnout waits for it to die, then puts the terminal back the way it was - echo, line input, cursor - so the prompt you get back works even when a dev server left the console raw. A second Ctrl+C force-kills the tool’s whole process tree (some dev servers ignore the first). The exit code is the conventional 130. Whatever survives the interrupt dies with turnout: on Windows every spawned command runs in a kill-on-close job object, so no stray helper processes linger.
Terminal window
cd ~/dev/myapp/src/components
turnout dev # runs myapp's dev command in ~/dev/myapp
turnout build myapp # from anywhere
turnout run deploy myapp # custom command from the app config