Currently using the NPM package gulp-open
to open the desired browser via gulp. It is working for chrome, firefox and internet explorer, however not with the Microsoft Edge browser.
My gulp task:
return gulp.src(base.app)
.pipe(open({
uri: 'localhost/' + cwd + "/app/" + path_base,
app: browser // chrome, iexplore, firefox
}));
I have tried with the following for the edge browser MicrosoftEdge
, edge
, Edge
, microsoft-edge
. Maybe it has something to do with the fact that you can't even open the edge browser from the system with a double click?
Edge can be found on the file system here: C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe
Running it via the CLI also works like this (from here):
$ start microsoft-edge:http://www.cnn.com
How to open it via the gulp-open
package?