Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend BrowserSync with Configuration API #123

Closed
zachleat opened this issue May 13, 2018 · 6 comments

Comments

Projects
None yet
4 participants
@zachleat
Copy link
Member

commented May 13, 2018

Requested in #120 (comment)

cc @paulrobertlloyd

@zachleat

This comment has been minimized.

Copy link
Member Author

commented May 13, 2018

This repository is now using lodash style issue management for enhancements. This means enhancement issues will now be closed instead of leaving them open.

The enhancement backlog can be found here: https://github.com/11ty/eleventy/issues?utf8=%E2%9C%93&q=label%3Aneeds-votes+sort%3Areactions-%2B1-desc+

@zachleat zachleat closed this May 13, 2018

@zachleat

This comment has been minimized.

Copy link
Member Author

commented Sep 27, 2018

@edwardhorsford

This comment has been minimized.

Copy link

commented Oct 31, 2018

In my case, I'd like to be able to set ignorePaths so that certain urls don't refresh on change. For the time being I've directly edited eleventy to achieve this.

@wesruv

This comment has been minimized.

Copy link

commented Jan 4, 2019

Hard to say if this is what I want... I think it is?

Collection pages aren't reloading HTML when a child page in the collection is updated. I'd like to force the browser to refresh on any .njk file being updated, similar to --no-inject-changes on BrowserSync's CLI:
https://www.browsersync.io/docs/command-line

But maybe there's a more direct way to fix the issue I'm experiencing, I wouldn't mind "RELOAD ALL THE THINGS ON CHANGE" option.

@zachleat zachleat added this to the 0.7.0 milestone Jan 8, 2019

zachleat added a commit that referenced this issue Jan 10, 2019

zachleat added a commit to 11ty/11ty.io that referenced this issue Jan 10, 2019

@zachleat zachleat removed the needs-votes label Jan 10, 2019

zachleat added a commit to 11ty/11ty.io that referenced this issue Jan 10, 2019

@zachleat

This comment has been minimized.

Copy link
Member Author

commented Jan 10, 2019

PR for this is ready to ship for 0.7.0 and docs have been added to the site for this feature.

https://www.11ty.io/docs/config/#override-browsersync-server-options

@paulrobertlloyd

This comment has been minimized.

Copy link
Contributor

commented Jan 10, 2019

Works like a charm! 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.