Skip to content

fix(cli): Clean exit for mock and component generator#456

Merged
mgrsskls merged 1 commit into
mainfrom
cli-clean-exit
Oct 30, 2025
Merged

fix(cli): Clean exit for mock and component generator#456
mgrsskls merged 1 commit into
mainfrom
cli-clean-exit

Conversation

@mvsde

@mvsde mvsde commented Oct 10, 2025

Copy link
Copy Markdown
Member

If the user config contains code that doesn’t stop, for example a file watcher, the CLI hangs because Node.js can’t exit.

This pull request enforces a clean exit after miyagi finished generating mocks or components.

@mvsde mvsde requested a review from mgrsskls October 10, 2025 08:18
@mvsde mvsde self-assigned this Oct 10, 2025
@mvsde mvsde added the bug Something isn't working label Oct 10, 2025
@mvsde mvsde added this to v4 Oct 10, 2025
@mgrsskls

Copy link
Copy Markdown
Member

Hey @mvsde, sorry for the late response and thanks for the PR! :)

@mgrsskls mgrsskls merged commit f6f6c19 into main Oct 30, 2025
4 checks passed
@mgrsskls mgrsskls deleted the cli-clean-exit branch October 30, 2025 08:17
@github-project-automation github-project-automation Bot moved this to Done in v4 Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants