Skip to content

[WIP] feat: add setRuntimeConfig module utility using IPC signal#670

Draft
BobbieGoede wants to merge 12 commits intonuxt:mainfrom
BobbieGoede:feat/module-util-set-runtime-config-ipc
Draft

[WIP] feat: add setRuntimeConfig module utility using IPC signal#670
BobbieGoede wants to merge 12 commits intonuxt:mainfrom
BobbieGoede:feat/module-util-set-runtime-config-ipc

Conversation

@BobbieGoede
Copy link
Member

@BobbieGoede BobbieGoede commented Dec 21, 2023

This is an exploration on how to update/set runtime config within a running server process, see #640 for more information.

The current implementation uses a Nuxt plugin to listen to the signal and update the process.env directly, the added tests confirm that this works in server routes. The Nuxt plugin resides inside the fixture at the moment which is not ideal.

@BobbieGoede BobbieGoede force-pushed the feat/module-util-set-runtime-config-ipc branch from 1ff7140 to 49383f1 Compare December 21, 2023 17:33
@alexandre-hallaine
Copy link

maybe we have to close it

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.

3 participants