[Bug]: Livereload don't work for project initiated with --blank flag
Ruff9 opened this issue · 1 comments
Operating System
Ubuntu 22.04
Ruby Version
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
Jekyll Version
jekyll 3.9.5
GitHub Pages Version
github-pages 231
Expected Behavior
I expected the --livereload
flag to reload my browser when I update some layout or content. Or at least output an error if it's not working.
Current Behavior
I started a project with the jekyll new project --blank
command. Then I launched my local server with bundle exec jekyll serve --livereload
.
But the livereload feature is not live reloading at all, nor is it throwing an error.
My logs displays the line LiveReload address: http://127.0.0.1:35729
, but nothing else is happening.
Relevant log output
No response
Code Sample
No response
Problem solved, I needed to add the "jekyll-livereload" gem to use livereload and the --blank
flag.
See this : https://stackoverflow.com/a/78396741/3219759