livedesk 0.1.1 → 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/livedesk.js +3 -1
- package/package.json +1 -1
package/bin/livedesk.js
CHANGED
|
@@ -156,7 +156,9 @@ function resolvePackageEntry(packageName, fallback) {
|
|
|
156
156
|
|
|
157
157
|
async function runManager(args) {
|
|
158
158
|
const options = parseManagerArgs(args);
|
|
159
|
-
const openUrl = options.openUrl
|
|
159
|
+
const openUrl = options.port && options.openUrl === DEFAULT_MANAGER_URL
|
|
160
|
+
? `http://127.0.0.1:${options.port}`
|
|
161
|
+
: (options.openUrl || DEFAULT_MANAGER_URL);
|
|
160
162
|
|
|
161
163
|
if (await isManagerAlreadyRunning(openUrl)) {
|
|
162
164
|
console.log(`LiveDesk manager is already running at ${openUrl}`);
|