polylith 0.1.2 → 0.1.4
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 +3 -4
- package/package.json +1 -1
package/bin/apps.js
CHANGED
|
@@ -134,9 +134,8 @@ export async function build(name, config, options, watch) {
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
async function server(apps) {
|
|
138
|
-
var
|
|
139
|
-
var server = new PolylithServer({apps: apps}, dest);
|
|
137
|
+
async function server(apps, options) {
|
|
138
|
+
var server = new PolylithServer({apps: apps}, options.dest);
|
|
140
139
|
server.create();
|
|
141
140
|
server.start(options.port || '8081');
|
|
142
141
|
}
|
|
@@ -148,5 +147,5 @@ export async function watch(name, config, options) {
|
|
|
148
147
|
app.watch();
|
|
149
148
|
}
|
|
150
149
|
|
|
151
|
-
server(apps);
|
|
150
|
+
server(apps, options);
|
|
152
151
|
}
|