Skip to content

Fix install to stop and uninstall before reinstalling#34

Closed
kosinal wants to merge 2 commits intomasterfrom
feature/32-install-stop-uninstall-first
Closed

Fix install to stop and uninstall before reinstalling#34
kosinal wants to merge 2 commits intomasterfrom
feature/32-install-stop-uninstall-first

Conversation

@kosinal
Copy link
Copy Markdown
Owner

@kosinal kosinal commented Mar 2, 2026

Summary

  • The install command now stops any running dashboard and uninstalls the previous installation before performing a fresh install, ensuring the new version propagates immediately
  • The uninstall command also now stops the running dashboard first before cleaning up
  • Added .catch() error handlers to the async flows to prevent unhandled promise rejections

Test plan

  • All 89 existing tests pass
  • Lint passes
  • Run claude-code-dashboard install with a dashboard already running — verify it stops, uninstalls, then installs fresh
  • Run claude-code-dashboard install with no dashboard running — verify clean install works
  • Run claude-code-dashboard uninstall with a dashboard running — verify it stops first then uninstalls

Fixes #32

kosinal added 2 commits March 2, 2026 16:23
The install command now stops any running dashboard and uninstalls
the previous installation before performing a fresh install. This
ensures the new version propagates immediately after installation.

The uninstall command also now stops the running dashboard first.

Fixes #32
Add .catch() handlers to the async IIFEs in install and uninstall
commands to prevent unhandled promise rejections and provide
meaningful error messages on failure.
@kosinal kosinal closed this Mar 2, 2026
@kosinal kosinal deleted the feature/32-install-stop-uninstall-first branch March 2, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intallation should stop and uninstall first

1 participant