Repository navigation
Run dev servers from the menu bar, release 0.7.0 - #12
Merged
Merged
Conversation
…e localhost-only ones
…r --host takes a value
…hem without forcing
…er touches real repos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Start dev servers from the menu bar app, then restart, stop and read their logs there. Merging this releases 0.7.0.
Built on
worktrees(#11), which is built onserver-urls(#10). Merge #10 and #11 first; until then this PR also shows their commits.What it does
packageManagerfield), thedev,start,serveandpreviewscripts of workspace packages, andProcfile.devorProcfileentries. Run dev starts the script that ran last in that project, else the first of dev, start, serve and preview.npm run devor turbo started stops too.~/.local/share/devdash/runs/<project>/<script>.log, kept under 5 MB. The existing logs window follows the file withtail -F, strips ANSI codes, and has Restart and Stop.--port,-p,PORT=), is held by a process devdash didn't start. Needs you then names the process and offers Stop and run. Nothing is stopped automatically.BROWSER=nonekeeps Vite and Next from opening a tab on every restart.Code
devdash/runnable.py: script detection, package manager, workspaces, Procfile, and ports named in a command.devdash/supervisor.py: start, stop, restart, clear, restart on crash, log rotation, state reload, and the port conflict check.runs,runnable(sent only when it changes), andrun_idon each server.run_script(with optionalstop_pid),stop_run,restart_run,clear_run,restart_on_crash.run, notid, becauseidis the request id.Tested
http.serverprocesses: start and stop, stopping a shell's children, restart, the crash-loop limit, reload after a bridge restart, a run that died while unwatched, a port held by another process, and a missing folder.run_idon the server, restart, crash detection with the exit code, stop and clear. The port check correctly refused a port that a real Vite from another project already held.--selftestagainst the real bridge decodes the new fields.ready.pngandlogs.pngare new,running.pngandhero.pngare updated.