-
-
Notifications
You must be signed in to change notification settings - Fork 19
Feature Request: Add 'open' as an option. #28
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestneeds-votesA feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.A feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneeds-votesA feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.A feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved.
The previous BrowserSync dev server had an
open: trueoption that would open the browser window when the server started.Would be nice to have that added back in. This horrible hack (nearly) works:
and
But adds a dependency and if you change the
openoption fromtruetofalsein.eleventy.jswhile the server is running it opens the browser again. I'm sure there is a much better way to do this.