@joystick.js/cli-canary 0.0.0-canary.154 → 0.0.0-canary.155
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.
- package/dist/lib/dev/index.js +1 -13
- package/package.json +1 -1
- package/src/lib/dev/index.js +1 -15
package/dist/lib/dev/index.js
CHANGED
|
@@ -291,12 +291,6 @@ const handleStartAppServer = async (options = {}) => {
|
|
|
291
291
|
port: options?.port,
|
|
292
292
|
sessionsBeforeHMRUpdate: options?.sessionsBeforeHMRUpdate
|
|
293
293
|
});
|
|
294
|
-
console.log({
|
|
295
|
-
nodeMajorVersion: options?.nodeMajorVersion,
|
|
296
|
-
port: options?.port,
|
|
297
|
-
sessionsBeforeHMRUpdate: options?.sessionsBeforeHMRUpdate,
|
|
298
|
-
serverProcess
|
|
299
|
-
});
|
|
300
294
|
if (serverProcess) {
|
|
301
295
|
processIds.push(serverProcess.pid);
|
|
302
296
|
process.serverProcess = serverProcess;
|
|
@@ -309,14 +303,8 @@ const handleStartAppServer = async (options = {}) => {
|
|
|
309
303
|
};
|
|
310
304
|
const handleNotifyHMRClients = async (indexHTMLChanged = false) => {
|
|
311
305
|
try {
|
|
312
|
-
console.log("CALLING HNHMRCLIENTS");
|
|
313
306
|
if (process.hmrProcess) {
|
|
314
|
-
const settings = await loadSettings(process.env.NODE_ENV);
|
|
315
|
-
console.log({
|
|
316
|
-
type: "RESTART_SERVER",
|
|
317
|
-
settings: settings.parsed,
|
|
318
|
-
indexHTMLChanged
|
|
319
|
-
});
|
|
307
|
+
const settings = await loadSettings({ environment: process.env.NODE_ENV });
|
|
320
308
|
process.hmrProcess.send(
|
|
321
309
|
JSON.stringify({
|
|
322
310
|
type: "RESTART_SERVER",
|
package/package.json
CHANGED
package/src/lib/dev/index.js
CHANGED
|
@@ -358,13 +358,6 @@ const handleStartAppServer = async (options = {}) => {
|
|
|
358
358
|
sessionsBeforeHMRUpdate: options?.sessionsBeforeHMRUpdate,
|
|
359
359
|
});
|
|
360
360
|
|
|
361
|
-
console.log({
|
|
362
|
-
nodeMajorVersion: options?.nodeMajorVersion,
|
|
363
|
-
port: options?.port,
|
|
364
|
-
sessionsBeforeHMRUpdate: options?.sessionsBeforeHMRUpdate,
|
|
365
|
-
serverProcess,
|
|
366
|
-
});
|
|
367
|
-
|
|
368
361
|
if (serverProcess) {
|
|
369
362
|
processIds.push(serverProcess.pid);
|
|
370
363
|
process.serverProcess = serverProcess;
|
|
@@ -378,15 +371,8 @@ const handleStartAppServer = async (options = {}) => {
|
|
|
378
371
|
|
|
379
372
|
const handleNotifyHMRClients = async (indexHTMLChanged = false) => {
|
|
380
373
|
try {
|
|
381
|
-
console.log('CALLING HNHMRCLIENTS');
|
|
382
|
-
|
|
383
374
|
if (process.hmrProcess) {
|
|
384
|
-
const settings = await loadSettings(process.env.NODE_ENV);
|
|
385
|
-
console.log({
|
|
386
|
-
type: "RESTART_SERVER",
|
|
387
|
-
settings: settings.parsed,
|
|
388
|
-
indexHTMLChanged,
|
|
389
|
-
});
|
|
375
|
+
const settings = await loadSettings({ environment: process.env.NODE_ENV });
|
|
390
376
|
process.hmrProcess.send(
|
|
391
377
|
JSON.stringify({
|
|
392
378
|
type: "RESTART_SERVER",
|