Waddle docs

Recipes

Tell me when tests finish

Two ways to have Waddle walk over when a long command is done: waddle wait for one command, the shell hook for all of them.

One command

sh
waddle wait npm test

Waddle walks over when it's done: happy if it passed, with the last line it printed if not. Click Waddle to jump back to that terminal.

Every long command

Add the hook to your shell, and any command that takes 30 seconds or more and finishes while you're in another app, Waddle brings.

# in ~/.zshrc
eval "$(waddle hook zsh)"
  • It skips Ctrl-C, editors, pagers, ssh, top, agents like claude and the like: you were there for those.
  • Change the 30 seconds with WADDLE_MIN_SECONDS, like export WADDLE_MIN_SECONDS=60.
  • The prompt never waits: the hook tells Waddle in the background.

In a script

waddle wait exits with the command's own exit code, so it drops into scripts and Makefiles without changing what they do:

sh
waddle wait npm run build && npm run deploy