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

Dependency tracker fails to recognise re-added item #1463

Closed
denisdefreyne opened this issue Nov 8, 2019 · 0 comments · Fixed by #1464
Closed

Dependency tracker fails to recognise re-added item #1463

denisdefreyne opened this issue Nov 8, 2019 · 0 comments · Fixed by #1464

Comments

@denisdefreyne
Copy link
Member

@denisdefreyne denisdefreyne commented Nov 8, 2019

Steps to reproduce

  1. Create the following files:

    • content/org1.erb with content

      <ul>
      <% children_of(@item).each do |c| %>
        <li><%= c[:title] %></li>
      <% end %>
      </ul>
      
    • content/org1/oink.md with content

      ---
      title: Oink
      ---
      
      here is oink content
      
  2. Compile with this:

    compile '/**/*' do
      filter :erb
      write ext: 'html'
    end
    
  3. Include Nanoc::Helpers::ChildParent helper

  4. Compile

  5. Delete content/org1/oink.md and recompile

  6. Recreate content/org1/oink.md and recompile

Expected behavior

output/org1/index.html contains a list with an item for output/oink.html

Actual behavior

output/org1/index.html contains an empty list

Details

n/a

Crash log

n/a

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

Successfully merging a pull request may close this issue.

1 participant