Skip to content

Conversation

novemberborn
Copy link
Member

The way helpers are precompiled, if you invoke AVA from inside a directory, with file arguments, then only helper files inside that directory are precompiled.

We'll be able to fix it when we move compilation into the workers, and I'm not even convinced it should be considered a bug at this stage. I did want to document the behavior somewhere, but I'm not sure it has to be in user-facing documentation as it's (hopefully) a rather specific edge-case.

@sindresorhus sindresorhus merged commit 73394f1 into master Feb 11, 2017
@sindresorhus sindresorhus deleted the document-helper-caveat-in-code branch February 11, 2017 16:42
@sindresorhus
Copy link
Member

I think inline in the code is a good place to document this. We also have https://github.com/avajs/ava/blob/master/maintaining.md for internal notes.

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.

2 participants