mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
'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…
x
Reference in New Issue
Block a user