@joystick.js/cli-canary 0.0.0-canary.138 → 0.0.0-canary.139

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.
@@ -1,23 +1,4 @@
1
1
  import dev from "../../lib/dev/index.js";
2
- const startHMRProcess = () => {
3
- const execArgv = ["--no-warnings"];
4
- if (majorVersion < 19) {
5
- execArgv.push("--experimental-specifier-resolution=node");
6
- }
7
- const hmrProcess = child_process.fork(
8
- path.resolve(`${__dirname}/hmrServer.js`),
9
- [],
10
- {
11
- execArgv,
12
- // NOTE: Pipe stdin, stdout, and stderr. IPC establishes a message channel so we
13
- // communicate with the child_process.
14
- silent: true
15
- }
16
- );
17
- process.hmrProcess = hmrProcess;
18
- handleHMRProcessSTDIO();
19
- handleHMRProcessMessages();
20
- };
21
2
  var start_default = async (args = {}, options = {}) => {
22
3
  await dev({
23
4
  environment: args?.environment || "development",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/cli-canary",
3
- "version": "0.0.0-canary.138",
3
+ "version": "0.0.0-canary.139",
4
4
  "type": "module",
5
5
  "description": "CLI for the Joystick JavaScript framework.",
6
6
  "main": "development.js",
@@ -258,29 +258,29 @@ import dev from "../../lib/dev/index.js";
258
258
  // }
259
259
  //};
260
260
  //
261
- const startHMRProcess = () => {
262
- const execArgv = ["--no-warnings"];
263
-
264
- if (majorVersion < 19) {
265
- execArgv.push("--experimental-specifier-resolution=node");
266
- }
267
-
268
- const hmrProcess = child_process.fork(
269
- path.resolve(`${__dirname}/hmrServer.js`),
270
- [],
271
- {
272
- execArgv,
273
- // NOTE: Pipe stdin, stdout, and stderr. IPC establishes a message channel so we
274
- // communicate with the child_process.
275
- silent: true,
276
- }
277
- );
278
-
279
- process.hmrProcess = hmrProcess;
280
-
281
- handleHMRProcessSTDIO();
282
- handleHMRProcessMessages();
283
- };
261
+ //const startHMRProcess = () => {
262
+ // const execArgv = ["--no-warnings"];
263
+ //
264
+ // if (majorVersion < 19) {
265
+ // execArgv.push("--experimental-specifier-resolution=node");
266
+ // }
267
+ //
268
+ // const hmrProcess = child_process.fork(
269
+ // path.resolve(`${__dirname}/hmrServer.js`),
270
+ // [],
271
+ // {
272
+ // execArgv,
273
+ // // NOTE: Pipe stdin, stdout, and stderr. IPC establishes a message channel so we
274
+ // // communicate with the child_process.
275
+ // silent: true,
276
+ // }
277
+ // );
278
+ //
279
+ // process.hmrProcess = hmrProcess;
280
+ //
281
+ // handleHMRProcessSTDIO();
282
+ // handleHMRProcessMessages();
283
+ //};
284
284
  //
285
285
  //const notifyHMRClients = (indexHTMLChanged = false) => {
286
286
  // const settings = loadSettings(process.env.NODE_ENV);