polylith 0.1.26 → 0.1.28

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/bin/apps.js CHANGED
@@ -147,18 +147,18 @@ export async function build(name, config, options, watch) {
147
147
 
148
148
  async function server(apps, options) {
149
149
  var server = new PolylithServer({apps: apps}, options.dest);
150
- server.create(apps);
151
- server.start(options.port || '8081');
150
+ await server.create(apps);
151
+ await server.start(options.port || '8081');
152
152
  }
153
153
 
154
154
  export async function watch(name, config, options) {
155
155
  var apps = await build(name, config, options, true);
156
156
 
157
157
  for (let app of apps) {
158
- app.watch();
158
+ await app.watch();
159
159
  }
160
160
 
161
- server(apps, options);
161
+ await server(apps, options);
162
162
  }
163
163
 
164
164
  export async function test(name, config, options) {
package/bin/polylith.js CHANGED
@@ -406,14 +406,17 @@ async function run() {
406
406
 
407
407
  case 'build': {
408
408
  await build(params[1], config, clOptions, false);
409
+ break;
409
410
  }
410
411
 
411
412
  case 'watch': {
412
413
  await watch(params[1], config, clOptions)
414
+ break;
413
415
  }
414
416
 
415
417
  case 'test': {
416
418
  await test(params[1], config, clOptions)
419
+ break;
417
420
  }
418
421
  }
419
422
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polylith",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "description": "cli for the polylith environment",
5
5
  "bin": {
6
6
  "polylith": "bin/polylith.js"