-
Notifications
You must be signed in to change notification settings - Fork 1
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
Not working with @include #1
Comments
Hi @mspoulsen, I've published a v2 which correctly resolves includes relative to the current file. It used to (incorrectly in my opinion) resolve them relative to the cwd. Let me know if you have any further troubles with it. Thanks, |
Thanks a lot! Will try it out 👍 |
It is working...kind of. I have problems with changes not loading between test runs. I have a.ne that includes b.ne. When I run test for a.ne then updates in b.ne are not updated between test runs. However, if I compile the ne file and require the .js file it works as expected. Any chance you now how to fix nearley-loader? |
I haven't done a lot of work with nearley. I'll have a look at the include updates issue soon - I've got a few ideas. I suspect that Jest doesn't redo the transform on |
Hi,
When I try to use the @include directive like this:
Then I get:
TypeError: Cannot read property '0' of undefined
Is this possible to fix?
Thanks!
The text was updated successfully, but these errors were encountered: