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

fix: Ensuring the sw flag is a boolean in watch mode #1595

Merged
merged 2 commits into from
Sep 30, 2021

Conversation

rschristian
Copy link
Member

@rschristian rschristian commented Sep 15, 2021

What kind of change does this PR introduce?

Bugfix

Did you add tests for your changes?

No

Summary

Fixes #1594

preact watch --sw false passed the value through as a string, rather than coercing to a boolean, which was an oversight.

Does this PR introduce a breaking change?

No

@rschristian rschristian requested a review from a team as a code owner September 15, 2021 20:30
@changeset-bot
Copy link

changeset-bot bot commented Sep 15, 2021

🦋 Changeset detected

Latest commit: 05da988

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

This PR includes changesets to release 1 package
Name Type
preact-cli Patch

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

@ForsakenHarmony
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Sep 30, 2021
**What kind of change does this PR introduce?**

Bugfix

**Did you add tests for your changes?**

No

**Summary**

Fixes #1594 

`preact watch --sw false` passed the value through as a string, rather than coercing to a boolean, which was an oversight.

**Does this PR introduce a breaking change?**

No
@bors
Copy link

bors bot commented Sep 30, 2021

This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried.

Additional information:

{"message":"At least 1 approving review is required by reviewers with write access.","documentation_url":"https://docs.github.com/articles/about-protected-branches"}

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.

Service Worker required when disabled in dev
3 participants