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

Dependency on generated item always unmet #885

Closed
ddfreyne opened this Issue Jul 1, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@ddfreyne
Member

ddfreyne commented Jul 1, 2016

Steps to reproduce:

  1. Create a new site

  2. Add the preprocess rule:

    preprocess do
      items.create('Hallo', {}, '/hallo.md')
    end
  3. Add <p><%= @items['/hallo.*'].compiled_content %></p> to content/index.html

  4. Update the index compilation rule:

    compile '/**/*.html' do
      filter :erb
      layout '/default.*'
    end

Expected result: the /index.html page is not needlessly recompiled.
Actual result: the /index.html page is always recompiled.

@ddfreyne

This comment has been minimized.

Show comment
Hide comment
@ddfreyne

ddfreyne Jul 2, 2016

Member

Fix in #893.

Member

ddfreyne commented Jul 2, 2016

Fix in #893.

@ddfreyne ddfreyne closed this Jul 2, 2016

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