-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Console error after setting the include
config to src/**/*.{graphql,gql}
#1416
Comments
Houdini plays by vite plugin rules which means that it won't process files that don't match its |
Thanks for the answer. But then I don't really get the error message or the variable names. Because it's saying that |
Ah, i misread the original report - sorry about that! Looking with clearer eyes now and I think you're right. I'll reopen the issue and will look out for a PR so we can quickly merge/deploy the fix for you |
Thanks a lot! If it helps I can create a PR for you. I'm just not sure if I can test it in detail. |
Describe the bug
We set the
include
config in thehoudini.config.js
tosrc/**/*.{graphql,gql}
so that Houdini doesn't watch all JS/TS files all the time (which led to a full reload of the page as soon anything changed). But now we're getting the following error in the console even if we don't have queries in our+page
or+layout
files:Could it be that the condition for outputting this warning is not correctly defined:
houdini/packages/houdini-svelte/src/plugin/codegen/routes/index.ts
Lines 71 to 79 in c307841
In my opinion the condition should look like this:
Reproduction
No response
The text was updated successfully, but these errors were encountered: