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

chore(gatsby): warn about service workers running in development #13716

Merged
merged 3 commits into from
May 3, 2019
Merged

chore(gatsby): warn about service workers running in development #13716

merged 3 commits into from
May 3, 2019

Conversation

vtenfys
Copy link
Contributor

@vtenfys vtenfys commented Apr 29, 2019

Description

Warn about service workers detected on a site running in development, rather than removing them automatically.

Related Issues

#12834

@vtenfys vtenfys requested a review from a team as a code owner April 29, 2019 14:42
David Bailey added 2 commits April 29, 2019 15:43
- Remove supportsServiceWorkers() since it was only used in one place
- Instead of automatically removing SWs, warn about them
@DSchau DSchau changed the title Warn about development service workers chore(gatsby): warn about service workers running in development Apr 29, 2019
@DSchau DSchau added the status: awaiting reviewer response A pull request that is currently awaiting a reviewer's response label Apr 29, 2019
@wardpeet
Copy link
Contributor

wardpeet commented May 3, 2019

I wonder if a console.warn is enough :p, maybe we should inject some kind of "console" in gatsby dev. I think it's okay to ship but might need some more iterations on this.

Great job

@wardpeet wardpeet added bot: merge on green Gatsbot will merge these PRs automatically when all tests passes and removed status: awaiting reviewer response A pull request that is currently awaiting a reviewer's response labels May 3, 2019
@wardpeet wardpeet merged commit 0e3d0d5 into gatsbyjs:master May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants