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

FAKE caching and copying files #951

Closed
tpetricek opened this issue Sep 16, 2015 · 2 comments
Closed

FAKE caching and copying files #951

tpetricek opened this issue Sep 16, 2015 · 2 comments

Comments

@tpetricek
Copy link
Member

I just found a bit odd behavior which (I suspect) might be due to the new caching that FAKE does.

I had some slides, copied them to a new place and run the build script. I did not change my build.fsx (so I suspect the file had the same creation time and hash). When running FAKE, it would behave as if running the script from the old location (which has different __SOURCE_DIRECTORY__ and so it was showing wrong slides).

As soon as I made a change in build.fsx, everything started working fine. Could this be a FAKE caching issue?

@forki
Copy link
Member

forki commented Sep 16, 2015

Yes sounds like that. I assume we need to add location to the cache.
On Sep 16, 2015 2:50 PM, "Tomas Petricek" notifications@github.com wrote:

I just found a bit odd behavior which (I suspect) might be due to the new
caching that FAKE does.

I had some slides, copied them to a new place and run the build script. I
did not change my build.fsx (so I suspect the file had the same creation
time and hash). When running FAKE, it would behave as if running the script
from the old location (which has different SOURCE_DIRECTORY and so it
was showing wrong slides).

As soon as I made a change in build.fsx, everything started working fine.
Could this be a FAKE caching issue?


Reply to this email directly or view it on GitHub
#951.

@forki
Copy link
Member

forki commented Sep 17, 2015

/cc @xavierzwirtz

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

No branches or pull requests

2 participants