Skip to content

fix: improve dev stop Ctrl+C output with concise shutdown messages @W-21322039@#29

Merged
deepu-mungamuri94 merged 1 commit intomainfrom
fix/dev-stop-ctrlc-output
Feb 25, 2026
Merged

fix: improve dev stop Ctrl+C output with concise shutdown messages @W-21322039@#29
deepu-mungamuri94 merged 1 commit intomainfrom
fix/dev-stop-ctrlc-output

Conversation

@deepu-mungamuri94
Copy link
Copy Markdown
Collaborator

@W-21322039@

  • Add user-visible shutdown messages (stopping proxy, dev server)
  • Use checkmark style (✅ Stopped dev & proxy servers.)
  • Clear force-kill timeout in DevServerManager to prevent process hang
  • Fix explicit return type for handleSignal (lint)

What does this PR do?

CLI output says to use CTRL+C to stop the dev server, but when you do, you get a RED error like so:
^C/Users/tconn/.local/share/sf/node_modules/@salesforce/plugin-app-dev/node_modules/@oclif/core/lib/errors/exit.js:6
throw new exit_1.ExitError(code);

What issues does this PR fix or reference?

improve dev stop Ctrl+C output with concise shutdown messages instead of error kind of output.

@W-21322039@

- Add user-visible shutdown messages (stopping proxy, dev server)
- Use checkmark style (✅ Stopped dev & proxy servers.)
- Clear force-kill timeout in DevServerManager to prevent process hang
- Fix explicit return type for handleSignal (lint)

Co-authored-by: Cursor <cursoragent@cursor.com>
@deepu-mungamuri94
Copy link
Copy Markdown
Collaborator Author

deepu-mungamuri94 commented Feb 25, 2026

Previously without fix :

^C/Users/tconn/.local/share/sf/node_modules/@salesforce/plugin-app-dev/node_modules/@oclif/core/lib/errors/exit.js:6
  throw new exit_1.ExitError(code);
  ^
ExitError: EEXIT: 130

  at Object.exit (/Users/tconn/.local/share/sf/node_modules/@salesforce/plugin-app-dev/node_modules/@oclif/core/lib/errors/exit.js:6:11)
  at WebappDev.exit (/Users/tconn/.local/share/sf/node_modules/@salesforce/plugin-app-dev/node_modules/@oclif/core/lib/command.js:219:16)
  at process.<anonymous> (file:///Users/tconn/.local/share/sf/node_modules/@salesforce/plugin-app-dev/node_modules/@salesforce/sf-plugins-core/lib/sfCommand.js:274:22)
  at process.emit (node:events:520:35) {
 code: 'EEXIT',
 oclif: { exit: 130 },
 skipOclifErrorHandling: undefined,
 suggestions: undefined
}

After fix: we have clean exit.
Screenshot 2026-02-25 at 11 00 04 AM

@deepu-mungamuri94 deepu-mungamuri94 merged commit 46a93f0 into main Feb 25, 2026
16 checks passed
@deepu-mungamuri94 deepu-mungamuri94 deleted the fix/dev-stop-ctrlc-output branch February 25, 2026 05:36
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.

2 participants