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

Add watch polling configuration #4823

Merged
merged 3 commits into from
Sep 30, 2020
Merged

Conversation

mintchkin
Copy link
Contributor

ref: #4815

  • Change usePolling default from true to false
  • Add watchPolling config file option to configure polling

Let me know if there's a better option for the config option or if it should be dropped in favor of a cli flag.

- Change usePolling default from `true` to `false`
- add `watchPolling` config file option to configure polling
@changeset-bot
Copy link

changeset-bot bot commented Sep 29, 2020

🦋 Changeset detected

Latest commit: 9c69bd5

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Owner

@dotansimha dotansimha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's perfect, thank you @mintchkin !

Can you please add a changeset file? (run yarn changeset and it will guide you thought the process)
I think this PR can bump the minor flag.

packages/graphql-codegen-cli/src/utils/watcher.ts Outdated Show resolved Hide resolved
packages/utils/plugins-helpers/src/types.ts Outdated Show resolved Hide resolved
@dotansimha
Copy link
Owner

That's perfect. Thank you @mintchkin !

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