sindresorhus/opn

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Does not open when browser is already running or doesn't open at all #79

schwarcu posted onGitHub

var url = 'http://localhost/results/';
const opn = require('opn');
opn(url, { app: 'chrome' });

It doesn't open chrome when it's already running. When it's closed it works... sometimes It's weird because it worked before and I did no changes to code and it just stopped opening link when chrome is already running.

Edit: now it doesn't open the link at all or it's completely random.


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests