index.html file (e.g. the one from the Jekyll tutorial)jekyll serve --livereloadlocalhost:4000<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Home</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
@behrangs-sportsbet There are two things required for --livereload to work:
<head></head> markup tag in the main layout or index.htmlIn your case, the index.html is missing front matter dashes. So, Jekyll sees index.html as a static_file instead of a page..
Thanks! Adding the front matter made livereload kick in.
Closing this ticket now..
Most helpful comment
@behrangs-sportsbet There are two things required for
--livereloadto work:<head></head>markup tag in the main layout orindex.htmlIn your case, the
index.htmlis missing front matter dashes. So, Jekyll seesindex.htmlas astatic_fileinstead of apage..