Jekyll livereload not working on windows 10


#1

Hi, I am using bash on windows 10. Jekyll’s livereload not work…

I started looking for a solution here. https://github.com/jekyll/jekyll/issues/7364

Expected Behaviour
It needs to be updated at the time I saved my files.

Current Behavior

LiveReload address: 127.0.0.1:35729
JekyllAdmin mode: production
Server address: 127.0.0.1:4000/
Server running… press ctrl-c to stop.
LiveReload: Browser connected

But not working liverelaod on pages.

What is problem?


#2

@deveb I tried building your site on Windows 7 with the latest versions of Jekyll and Jekyll Admin.
(I also added livereload: true and verbose: true in the _config.yml to ease things…)

Then simply ran jekyll serve --trace

Phase Result (w/ jekyll-admin)
Initial Build Success
Regen Build Hangs after rendering _posts/2018-10-01-welcome-to-jekyll.markdown
         Rendering: _posts/2018-10-01-welcome-to-jekyll.markdown
  Pre-Render Hooks: _posts/2018-10-01-welcome-to-jekyll.markdown
  Rendering Liquid: _posts/2018-10-01-welcome-to-jekyll.markdown
  Rendering Markup: _posts/2018-10-01-welcome-to-jekyll.markdown

[HANGED!]
Phase Result (w/o jekyll-admin)
Initial Build Success
Regen Build Success

#3

LiveReload address: http://127.0.0.1:35729
[2018-11-09 17:06:16] INFO WEBrick 1.4.2
[2018-11-09 17:06:16] INFO ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
LiveReload: Browser connected
[2018-11-09 17:06:16] DEBUG WEBrick::HTTPServlet::FileHandler is mounted on /.
[2018-11-09 17:06:16] DEBUG unmount .
[2018-11-09 17:06:16] DEBUG Jekyll::Commands::Serve::Servlet is mounted on .
Server address: http://127.0.0.1:4000/
[2018-11-09 17:06:16] INFO WEBrick::HTTPServer#start: pid=105 port=4000
Server running… press ctrl-c to stop.
[2018-11-09 17:06:26] DEBUG accept: 127.0.0.1:52254
[2018-11-09 17:06:26] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:26] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:26] DEBUG accept: 127.0.0.1:52255
[2018-11-09 17:06:26] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:26] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:26] DEBUG accept: 127.0.0.1:52256
[2018-11-09 17:06:26] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:26] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
^R[2018-11-09 17:06:32] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:32] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:32] DEBUG accept: 127.0.0.1:52259
[2018-11-09 17:06:32] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:32] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:32] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:06:32] DEBUG Jekyll::Commands::Serve::Servlet is invoked.


#4

Is the above with jekyll-admin or without?
Could it be that one of your own JavaScript code is triggering something on your system…?


#5

You can see “JekyllAdmin mode: production” not here. So without admin.

I don’t have my own javascript.

I tried with and without admin. Same results.


#6

Ah okay… I thought JekyllAdmin mode: appears before the output you posted…
I see an assets/js/deveb.js in your site…


#7

We are not using any js in live site… That files are passive… I tried without all js files. I think this problem not about these…

LiveReload address: http://127.0.0.1:35729
[2018-11-09 17:50:47] INFO WEBrick 1.4.2
[2018-11-09 17:50:47] INFO ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
[2018-11-09 17:50:47] DEBUG WEBrick::HTTPServlet::FileHandler is mounted on /.
[2018-11-09 17:50:47] DEBUG unmount .
[2018-11-09 17:50:47] DEBUG Jekyll::Commands::Serve::Servlet is mounted on .
Server address: http://127.0.0.1:4000/
[2018-11-09 17:50:47] INFO WEBrick::HTTPServer#start: pid=49 port=4000
Server running… press ctrl-c to stop.
LiveReload: Browser connected
[2018-11-09 17:50:55] DEBUG accept: 127.0.0.1:52924
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG accept: 127.0.0.1:52925
[2018-11-09 17:50:55] DEBUG accept: 127.0.0.1:52926
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG accept: 127.0.0.1:52927
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:50:55] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-11-09 17:51:25] DEBUG close: 127.0.0.1:52924
[2018-11-09 17:51:25] DEBUG close: 127.0.0.1:52927
[2018-11-09 17:51:25] DEBUG close: 127.0.0.1:52925
[2018-11-09 17:51:25] DEBUG close: 127.0.0.1:52926