@joystick.js/cli-canary 0.0.0-canary.141 → 0.0.0-canary.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -262,6 +262,8 @@ const handleRestartApplicationProcess = async (options = {}) => {
262
262
  port: options?.port,
263
263
  sessionsBeforeHMRUpdate: options?.sessionsBeforeHMRUpdate
264
264
  });
265
+ handleServerProcessSTDIO();
266
+ handleServerProcessMessages();
265
267
  return Promise.resolve();
266
268
  }
267
269
  process.loader.text("Starting app...");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/cli-canary",
3
- "version": "0.0.0-canary.141",
3
+ "version": "0.0.0-canary.142",
4
4
  "type": "module",
5
5
  "description": "CLI for the Joystick JavaScript framework.",
6
6
  "main": "development.js",
@@ -319,6 +319,11 @@ const handleRestartApplicationProcess = async (options = {}) => {
319
319
  sessionsBeforeHMRUpdate: options?.sessionsBeforeHMRUpdate,
320
320
  });
321
321
 
322
+ // NOTE: Reattach process event handlers here because the ones down below
323
+ // are stale after a restart.
324
+ handleServerProcessSTDIO();
325
+ handleServerProcessMessages();
326
+
322
327
  return Promise.resolve();
323
328
  }
324
329