Run a task's dev server
Start a task's dev server and worker from the board, each on the worktree's own port, and open it from a link.
Set the commands in the repo config:
# ~/.config/kebbie/repos/app.toml [worktree] dev_server = "bin/dev" dev_worker = "bin/jobs"Give each worktree a port:
PORT=in its.env, or a port in its setup note. The setup skill picks a free one.Select the task on the board.
Press
w.
The server starts in a server tab of the task's Space with PORT set, and a web line under the task links to it.
- If you want to stop it, press
wagain. - If you want the worker, press
b. It starts and stops the same way. - If a worktree has neither a
PORT=nor a port in its setup note, noPORTis set. - If you set the commands in
config.tomlfor every repo, a command naming a path, such asbin/dev, applies only in a repo that has the file; elsewhere the task shows no server or worker line. - If kebbie runs on a remote machine and your browser is on your laptop, see Open dev servers from a remote machine.
Change the link
The default link is http://localhost:{port}. Behind a proxy that serves each checkout by folder name:
# ~/.config/kebbie/config.toml
[worktree]
dev_url = "https://{worktree}.test"
"" turns the link off. See URL placeholders.
Rename the tabs
# ~/.config/kebbie/config.toml
[worktree]
server_name = "web"
worker_name = "jobs"
The names are also the Space's tags in herdr's sidebar while each runs.
The task's own tab carries the task's name, and the lead Space's tab is kebbie. kebbie names a tab only while it has herdr's number or a name kebbie's sidebar sync gave it, so a tab you renamed in herdr keeps your name.