monorepotime 1.1.0 → 1.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/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -129,6 +129,7 @@ var config = {
|
|
|
129
129
|
var config_default = config;
|
|
130
130
|
|
|
131
131
|
// src/index.ts
|
|
132
|
+
var import_open = __toESM(require("open"));
|
|
132
133
|
var import_http = require("http");
|
|
133
134
|
var import_socket = require("socket.io");
|
|
134
135
|
var import_net = __toESM(require("net"));
|
|
@@ -1869,7 +1870,8 @@ var findAvailablePort = (startPort) => {
|
|
|
1869
1870
|
};
|
|
1870
1871
|
findAvailablePort(port).then((availablePort) => {
|
|
1871
1872
|
httpServer.listen(availablePort, () => {
|
|
1872
|
-
console.log(`
|
|
1873
|
+
console.log(`Monorepo Time is running at http://localhost:${availablePort}`);
|
|
1874
|
+
(0, import_open.default)(`http://localhost:${availablePort}`);
|
|
1873
1875
|
});
|
|
1874
1876
|
}).catch((err) => {
|
|
1875
1877
|
console.error("Failed to find an available port:", err);
|