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

Fix wildcard deps in cache #1410

Merged
merged 1 commit into from
May 22, 2018
Merged

Fix wildcard deps in cache #1410

merged 1 commit into from
May 22, 2018

Conversation

DeMoorJasper
Copy link
Member

@DeMoorJasper DeMoorJasper commented May 22, 2018

If an asset has a dependency that is a wildcard require, caching throws an error.
Due to passing a non-existent path to fs.stat.

This PR changes it to use the mtime of the directory of a wildcard dependency

Closes #1397

@fathyb fathyb merged commit d689fde into master May 22, 2018
@fathyb fathyb deleted the fix/wildcard-cache branch May 22, 2018 14:57
@devongovett
Copy link
Member

We should add a test for this 😉

@DeMoorJasper
Copy link
Member Author

@devongovett will follow up with a test :)

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

Successfully merging this pull request may close these issues.

3 participants