jekyll --livereload
does not seem to work for some reason on blank themes, but works fine on the default minima setup. OS is linux.
Steps to reproduce:
jekyll new --blank livereloadtest
cd livereloadtest
- create a valid html5-hello-world in
index.html
and save jekyll serve --livereload --open-url --verbose
- open up the browser devtools, reload the page and confirm in the network tab, that there is a websocket-connection open
- change something in the index.html and save it
Take note of the following:
- Livereload should show a connected browser (yes, log says “LiveReload: Browser connected”)
- jekyll should recognize the changed file (yes, log says “Regenerating: 1 file”)
- livereload should recognize the change (yes, log says “LiveReload: … done in xxx seconds”)
Expected result: the browser page is reloaded
Actual result: the browser page does not reload.
If I go through the same process, but instead of scaffolding a blank project I use the default minima-theme, I get the expected result.
Any ideas why it does not work, although the livereload.js is properly injected and the websocket is open?