@joystick.js/cli-canary 0.0.0-canary.124 → 0.0.0-canary.126

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.
@@ -523,6 +523,7 @@ const dev = async (options, { resolve, reject }) => {
523
523
  ],
524
524
  cleanupProcess: process.cleanupProcess
525
525
  });
526
+ process.exit(0);
526
527
  }
527
528
  resolve();
528
529
  } catch (exception) {
@@ -58,6 +58,10 @@ const runAva = (options = {}) => {
58
58
  ...process.env,
59
59
  FORCE_COLOR: "1"
60
60
  }
61
+ }, (error) => {
62
+ if (!error) {
63
+ resolve();
64
+ }
61
65
  });
62
66
  handleAvaSTDIO(ava, options);
63
67
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/cli-canary",
3
- "version": "0.0.0-canary.124",
3
+ "version": "0.0.0-canary.126",
4
4
  "type": "module",
5
5
  "description": "CLI for the Joystick JavaScript framework.",
6
6
  "main": "development.js",
@@ -628,6 +628,9 @@ const dev = async (options, { resolve, reject }) => {
628
628
  ],
629
629
  cleanupProcess: process.cleanupProcess,
630
630
  });
631
+
632
+ // TODO: Handle a watch mode here in case they pass it.
633
+ process.exit(0);
631
634
  }
632
635
 
633
636
  /*
@@ -81,6 +81,10 @@ const runAva = (options = {}) => {
81
81
  ...(process.env),
82
82
  FORCE_COLOR: "1"
83
83
  }
84
+ }, (error) => {
85
+ if (!error) {
86
+ resolve();
87
+ }
84
88
  });
85
89
 
86
90
  handleAvaSTDIO(ava, options);