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

[Bug]: Livereload don't work for project initiated with --blank flag #9582

Closed
Ruff9 opened this issue Apr 17, 2024 · 1 comment
Closed

[Bug]: Livereload don't work for project initiated with --blank flag #9582

Ruff9 opened this issue Apr 17, 2024 · 1 comment

Comments

@Ruff9
Copy link

Ruff9 commented Apr 17, 2024

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

@Ruff9 Ruff9 changed the title [Bug]: Livereload don't work for project iniated with --blank flag [Bug]: Livereload don't work for project initiated with --blank flag Apr 17, 2024
@Ruff9
Copy link
Author

Ruff9 commented May 2, 2024

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

@Ruff9 Ruff9 closed this as completed May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant