We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Yes
graphql, import, reload
Environment Info: System: OS: macOS 10.14 CPU: x64 Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz Binaries: Node: 11.1.0 - /usr/local/bin/node Yarn: 1.12.1 - /usr/local/bin/yarn npm: 6.4.1 - /usr/local/bin/npm Browsers: Chrome: 70.0.3538.77 Firefox: 61.0.1 Safari: 12.0 npmPackages: react: ^16.6.1 => 16.6.1 react-dom: ^16.6.1 => 16.6.1 react-scripts: 2.1.1 => 2.1.1 npmGlobalPackages: create-react-app: Not Found
yarn add graphql.macro graphql
src/test.graphql
type Query { hello: String }
import { loader } from 'graphql.macro' const test = loader('./test.graphql')
type Query { bye: String }
Bundler recompiles / App reloads
Bundler does not recompile / App does not reload
https://codesandbox.io/s/z6yjkp4l4m
Please download from codesandbox since it's only reproducible locally.
Related: #5076, #4893, #3909, #1792
The text was updated successfully, but these errors were encountered:
I don't think any of the related issues you listed are related to this specific problem. I think this is more applicable: #5580
Sorry, something went wrong.
Closing as dupe of #5580.
No branches or pull requests
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
graphql, import, reload
Environment
Steps to Reproduce
src/test.graphql
:src/test.graphql
, eg replace content with:Expected Behavior
Bundler recompiles / App reloads
Actual Behavior
Bundler does not recompile / App does not reload
Reproducible Demo
https://codesandbox.io/s/z6yjkp4l4m
Please download from codesandbox since it's only reproducible locally.
Related: #5076, #4893, #3909, #1792
The text was updated successfully, but these errors were encountered: