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

tmp/ nuked when output_dir is changed in preprocessor #1248

ddfreyne opened this issue Nov 16, 2017 · 1 comment


None yet
1 participant
Copy link

commented Nov 16, 2017

Steps to reproduce

  1. Create a new site

  2. Create content/stuff.html with some content

  3. Create the following Rules file:

    preprocess do
      @config[:output_dir] = 'ootpoot'
    passthrough '/**/*'
  4. Run nanoc --verbose

  5. Run nanoc --verbose again

Expected behavior

  • Nanoc shows skip for ootpoot/stuff.html
  • The tmp/nanoc directory has some contents

Actual behavior

  • Nanoc shows identical for ootpoot/stuff.html
  • The tmp/nanoc directory is empty


Cleanup#cleanup_unused_stores removes the tmp directory based on the hash of the output directory, after it’s been changed.


This comment has been minimized.

Copy link
Member Author

commented Nov 16, 2017

CC @gpakosz

ddfreyne added a commit that referenced this issue Nov 16, 2017

Merge pull request #1249 from nanoc/gh-1248
Pass non-preprocessed output_dirs to cleanup stage
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.