-
Notifications
You must be signed in to change notification settings - Fork 106
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
enable livereload on directories, not strictly files ending with .html
(fixes #72)
#73
enable livereload on directories, not strictly files ending with .html
(fixes #72)
#73
Conversation
here's a prior patch, but I like this better |
I added ./bin/cmd.js test/fixtures/app:bundle.js --dir example/ --live | garnish But the Could also explore inject-lr-script-stream and avoid the mime-type check, but might involve changing |
Yep, I noticed that on budo master too. I was going to troubleshoot that but forgot. Separate issue? |
Ah must be a separate issue then 😄 |
Actually, looks like I regressed it here heh. Investigating… |
But a similar issue exists on http://localhost:9966/404.html response will never finish. Filed mattdesl/inject-lr-script#3. |
enable livereload on directories, not strictly files ending with `.html` (fixes #72)
I just tested again and it doesn't seem to hang. Merged! Thanks |
I'm doing more tests locally and this seems to break some functionality. It looks like images and other files are getting picked up by the regex. I will keep investigating. |
I added a new regex when not in |
enable livereload on directories, not strictly files ending with `.html` (fixes #72)
No description provided.