Skip to content

Fix install to stop and uninstall before reinstalling#36

Merged
kosinal merged 1 commit intomasterfrom
feature/32-stop-uninstall-before-install
Mar 3, 2026
Merged

Fix install to stop and uninstall before reinstalling#36
kosinal merged 1 commit intomasterfrom
feature/32-stop-uninstall-before-install

Conversation

@kosinal
Copy link
Copy Markdown
Owner

@kosinal kosinal commented Mar 3, 2026

Summary

  • The install command now runs stopuninstallinstall to ensure the new version propagates immediately after installation
  • The uninstall command now stops the running server before uninstalling
  • Both commands include .catch() error handling for robustness

Closes #32

Test plan

  • All 89 existing tests pass
  • Lint passes
  • Manual: run install while dashboard is already running — verify old process stops, old installation removed, new version installed
  • Manual: run uninstall while dashboard is running — verify server stops before hooks/files are removed

The install command now runs stop → uninstall → install to ensure
the new version propagates immediately after installation.
The uninstall command also stops the server first.
Both commands include error handling for unhandled promise rejections.

Closes #32
@kosinal kosinal merged commit a3209b7 into master Mar 3, 2026
6 checks passed
@kosinal kosinal deleted the feature/32-stop-uninstall-before-install branch March 3, 2026 19:53
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