Watchers
Long-running scripts kept alive in a workspace, a poller, a sync, a queue reader, restarted when they exit.
The full guide is in DevBench
How it works, the steps and the commands are in the app, next to the screen they describe.
Open it in DevBench (sign-in required, opens in a new tab)