polylith 0.1.31 → 0.1.32
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 +4 -4
- package/package.json +1 -1
package/bin/apps.js
CHANGED
|
@@ -145,10 +145,10 @@ export async function build(name, config, options, watch) {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
async function server(
|
|
149
|
-
var server = new PolylithServer(
|
|
150
|
-
await server.create(
|
|
151
|
-
await server.start(
|
|
148
|
+
async function server(config, clOptions) {
|
|
149
|
+
var server = new PolylithServer(config, clOptions.dest);
|
|
150
|
+
await server.create(config);
|
|
151
|
+
await server.start(clOptions.port || '8081');
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
export async function watch(name, config, options) {
|