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

index.md can't build automatically #125

Closed
lufo816 opened this Issue Oct 2, 2016 · 1 comment

Comments

2 participants
@lufo816

lufo816 commented Oct 2, 2016

If I add a new post, the Jekyll will generate a new .html file in _site, but it can't update index.html automatically. Here is my index.md. Everything is ok of I use Jekyll without Docker.


---
title: Home
layout: page

---

<ul class="listing">
{% for post in site.posts %}
  {% capture y %}{{post.date | date:"%Y"}}{% endcapture %}
  {% if year != y %}
    {% assign year = y %}
    <li class="listing-seperator">{{ y }}</li>
  {% endif %}
  <li class="listing-item">
    <time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
    <a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
  </li>
{% endfor %}
</ul>
@envygeeks

This comment has been minimized.

Owner

envygeeks commented Oct 2, 2016

This is a problem with Docker and is a known issue, if you are not on Linux use Docker Native for your operating system, if you are on Windows inside of Ubuntu SubSystem, use Polling, if you wish to continue to use what I assume is Docker Machine, please also force polling which will resolve this issue.

@envygeeks envygeeks closed this Oct 2, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment