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

File of missing snapshot not regenerated #1134

Closed
ddfreyne opened this Issue Mar 26, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@ddfreyne
Copy link
Member

commented Mar 26, 2017

Only the existance on the filesystem of the :last snapshot is checked.

Steps to reproduce

  1. Create content/foo.txt.

  2. Create this Rules file:

    compile '/**/*' do
      write '/first.html'
      filter :erb
      write '/last.html'
    end
  3. Compile.

  4. Delete output/first.html.

  5. Compile.

Expected behavior

output/first.html exists.

Actual behavior

output/first.html does not exists.

ddfreyne added a commit that referenced this issue Mar 26, 2017

Merge pull request #1135 from nanoc/gh-1134
Check existence of files of all snapshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.