redux-devtools/packages/redux-devtools-cli/bin/open.js
2019-01-05 02:53:24 +02:00

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;