mirror of
https://github.com/rowyio/rowy.git
synced 2026-07-12 13:28:48 +02:00
Merge branch 'develop' of https://github.com/AntlerVC/firetable into develop
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "firetable",
|
||||
"alias": "firetable-cli",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "CLI tool to simplify firetable deployment processes",
|
||||
"repository": "https://github.com/AntlerVC/firetable",
|
||||
"author": "Shams Mosowi",
|
||||
|
||||
@@ -111,7 +111,11 @@ module.exports.deployToFirebaseHosting = (projectId) =>
|
||||
|
||||
module.exports.startFiretableLocally = (dir = "firetable/www") =>
|
||||
new Promise((resolve) => {
|
||||
const child = spawn("npm", ["run", "serve"], { cwd: dir });
|
||||
const child = spawn(
|
||||
/^win/.test(process.platform) ? "npm.cmd" : "npm",
|
||||
["run", "serve"],
|
||||
{ cwd: dir }
|
||||
);
|
||||
child.stdout.on("data", (data) => {
|
||||
const msg = data.toString();
|
||||
const portRegex = /^INFO: Accepting connections at (http:\/\/[\w\.]+:\d+)/;
|
||||
|
||||
Reference in New Issue
Block a user