my_wins 1.3.0 → 1.3.1

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.
Files changed (2) hide show
  1. package/lib/index.js +3 -1
  2. package/package.json +3 -2
package/lib/index.js CHANGED
@@ -251,7 +251,9 @@ module.exports.run = async ()=>{
251
251
  const selections = await promptMenu(winNames);
252
252
  const exitSelected = selections.includes("__exit__");
253
253
  const selectedNames = selections.filter((item)=>item !== "__exit__");
254
- await runOnce(settings, selectedNames);
254
+ if (selectedNames.length) {
255
+ await runOnce(settings, selectedNames);
256
+ }
255
257
  if (exitSelected) break;
256
258
  }
257
259
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my_wins",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Automates starting and laying out your console windows for tsc, babel, tests, verdaccio, etc...",
5
5
  "keywords": [
6
6
  "automation",
@@ -15,7 +15,8 @@
15
15
  "my_wins": "bin/index.js"
16
16
  },
17
17
  "scripts": {
18
- "start": "node index.js"
18
+ "start": "node index.js",
19
+ "startm": "node index.js -m"
19
20
  },
20
21
  "author": "Yuri Yaryshev",
21
22
  "license": "Unlicense",