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: Publishing dev server keeps running after exiting on Windows #2035

Merged
merged 5 commits into from
Jan 7, 2022

Conversation

SeriousBug
Copy link
Contributor

@SeriousBug SeriousBug commented Jan 3, 2022

Fixes an issue where on Windows, the next server would continue running even after the Dendron CLI is interrupted with Ctrl+C.

I believe this change will cause a terminal window to appear when using the publish dev plugin command, but I was unfortunately unable to test that. This is necessary because it appears that Windows otherwise doesn't let applications handle an interrupt, so node/execa can't stop the server when Dendron exits. See: nodejs/node#29837

@auto-assign auto-assign bot requested a review from kevinslin January 3, 2022 08:58
@SeriousBug SeriousBug requested a review from kevinslin January 5, 2022 09:17
@kevinslin
Copy link
Member

looks like there's a compiler error

@SeriousBug
Copy link
Contributor Author

Works now!

@SeriousBug SeriousBug marked this pull request as draft January 6, 2022 19:47
@SeriousBug SeriousBug marked this pull request as ready for review January 6, 2022 21:15
@SeriousBug
Copy link
Contributor Author

The failing windows plugin tests work fine locally.

@kevinslin kevinslin merged commit 134bcb3 into master Jan 7, 2022
@kevinslin kevinslin deleted the fix/powershell-cli branch January 7, 2022 04:12
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