Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dev): use dedicated signal for restart #174

Merged
merged 1 commit into from
Sep 12, 2023
Merged

fix(dev): use dedicated signal for restart #174

merged 1 commit into from
Sep 12, 2023

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Sep 12, 2023

While normally no modules should directly call process.exit(0) within nuxt build process / dev, some might (for example for testing).

This PR uses internal SIGHUP which is commonly used in UNIX processes as restart indicator for internal reload (we shall later also support it for main process)

@pi0 pi0 requested a review from danielroe September 12, 2023 21:43
@pi0 pi0 mentioned this pull request Sep 12, 2023
@pi0 pi0 requested a review from antfu September 12, 2023 21:54
@pi0 pi0 merged commit b1d6c91 into main Sep 12, 2023
2 checks passed
@pi0 pi0 deleted the restart-signal branch September 12, 2023 22:38
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