mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-09-23 12:29:14 +03:00
9 lines
220 B
JavaScript
9 lines
220 B
JavaScript
|
var opn = require('opn');
|
||
|
|
||
|
function open(app, options) {
|
||
|
console.log('app', app)
|
||
|
opn('http://localhost:' + options.port + '/', app !== 'browser' && app !== true ? { app: app } : undefined);
|
||
|
}
|
||
|
|
||
|
module.exports = open;
|