-
Notifications
You must be signed in to change notification settings - Fork 39
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
Livereload Reloading All the Paths #92
Comments
I have the same effect, and it is really annoying. Especially if you edit and update a file frequently, and your website is big. |
You can reproduce it easily, using this project: https://gitlab.com/gitlab-com/www-gitlab-com |
Unfortunately, we don't have a means of knowing which files of a same-type influence which other files. Our template renderer (Padrino) does not provide a dependency graph. The simplest (and slowest) solution is to reload all files of a type if one changes. |
As an aside, there is no full-time maintainer for this extension. I just try keep it from being broken, but never use Livereload when using Middleman for work. If anyone has time, desire and attention, I'd happily allow them to work on improving Livereload support. |
@tdreyno Is there a way to turn off the reload everything behaviour? Also, somewhat related, where are the also, I've found a small bug in the |
Recently migrated a project from middleman 3 to 4. Livereload is working, however, it is reloading all of my haml files and not just the changed file.
I change careers.html.haml and in terminal I see it reloading paths from work/*, explore, contact etc...
Before the migration I would just see the careers page being reloaded in terminal.
config.rb
activate :livereload
Is there a config option I'm missing or is this the correct functionality?
Thanks!
The text was updated successfully, but these errors were encountered: