diff --git a/lib/modules/webserver/index.js b/lib/modules/webserver/index.js index e9095bbe1..db8710084 100644 --- a/lib/modules/webserver/index.js +++ b/lib/modules/webserver/index.js @@ -95,6 +95,10 @@ class WebServer { }; }); + self.embark.registerConsoleCommand((cmd, _options) => { + return { + match: () => cmd === 'browser open', + process: (cb) => self.events.request('open-browser', cb) }; }); }