Skip to content

feat: forked dev server - #22

Merged
pi0 merged 2 commits into
mainfrom
feat/forked-cli
Mar 10, 2023
Merged

pi0 merged 2 commits into
mainfrom
feat/forked-cli

Conversation

@pi0

@pi0 pi0 commented Mar 1, 2023

Copy link
Copy Markdown
Member

With these changes, we run the actual nuxt dev builder in a forked process.

CLI runs in the main process, managing the dev HTTP server and sub-process via a proxy.

This new architecture allows the new possibilities to entirely restart the dev server with no downtime and for CLI plugins to run in the main CLI context exposing /__cli API.

Implementation is super primarily at the moment as i wanted to preview the overall changes we need on nuxt side. Need to iterate over this later.

@pi0

pi0 commented Mar 10, 2023 •

Copy link
Copy Markdown
Member Author

Merging to move forward and test on edge (it is not final!)

@pi0
pi0 merged commit 673ddf0 into main Mar 10, 2023
@pi0
pi0 deleted the feat/forked-cli branch March 10, 2023 10:03
@pi0 pi0 mentioned this pull request Apr 5, 2023
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.

1 participant