question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Open browser to a custom URL

See original GitHub issue

Hi, I’d like to automatically open the browser to a specific URL like my-project.com:3000, and not to localhost:3000. I can’t do it with tunnel option. Is it possible?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

15reactions
ctcpipcommented, Jul 11, 2018

in the hopes of saving someone else some time later:

  browserSync.init({
    server: {
      baseDir: '/baseDir/Path',
      index: 'index.html',
    },
    startPath: `index.html?query=something`
  });
11reactions
DrakeXiangcommented, Apr 7, 2017

@coderofsalvation The startPath is a sibling option of server, not a child

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to open custom URL scheme with Google Chrome?
How can I open this URL with Google Chrome? By default, Chrome starts searching in Google engine instead launching App and passing URL...
Read more >
Alfred Tip: Quickly Access Common URLs - Chip Cullen
In the resulting popup, go "Templates > Web & URLs > Open Custom URL in Specified Browser" Fill out the information in the...
Read more >
Opening custom extension's URL with a non-default web ...
And I'm wondering if it is possible for a custom extension to open its custom URL with a browser that is not system-default....
Read more >
Launching Applications Using Custom Browser Protocols
Go to a Version page, right-click on a version and select your AMI from the menu. This should make your browser open a...
Read more >
Window.open() - Web APIs | MDN
Users may use browser built-in features or extensions to choose whether to open a link in a new window, in the same window,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found