mirror of https://github.com/embarklabs/embark.git
'browser open' console command
This commit is contained in:
parent
68c6d1549a
commit
57b2c5c4e4
|
@ -95,6 +95,10 @@ class WebServer {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
self.embark.registerConsoleCommand((cmd, _options) => {
|
||||||
|
return {
|
||||||
|
match: () => cmd === 'browser open',
|
||||||
|
process: (cb) => self.events.request('open-browser', cb)
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue