Tags: nyxblabs/nyxbi
Tags
🚀 feat(cli-wrapper.ts): add wrapper for CLI entrypoint to enable rest… …artable process The `cli-wrapper.ts` file is added to wrap the CLI entrypoint in a restartable process. This is done to enable the application to be restarted without having to manually stop and start the process. The wrapper is only enabled for the `nuxt dev` command. The wrapper starts a subprocess and listens for messages from the child process. If the child process sends a `nuxt:restart` message, the subprocess is killed and a new subprocess is started.