polylith 0.1.0 → 0.1.2
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 -2
- package/package.json +1 -1
package/bin/apps.js
CHANGED
|
@@ -135,9 +135,10 @@ export async function build(name, config, options, watch) {
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
async function server(apps) {
|
|
138
|
-
var
|
|
138
|
+
var destPath = path.join(workingDir(), options.dest);
|
|
139
|
+
var server = new PolylithServer({apps: apps}, dest);
|
|
139
140
|
server.create();
|
|
140
|
-
server.start('8081');
|
|
141
|
+
server.start(options.port || '8081');
|
|
141
142
|
}
|
|
142
143
|
|
|
143
144
|
export async function watch(name, config, options) {
|