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: stop executing astro:server:setup twice #6693

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

bholmesdev
Copy link
Contributor

@bholmesdev bholmesdev commented Mar 28, 2023

Changes

Testing

N/A

Docs

Remove "preview" mode callout in docs. Astro's server hooks do not run in preview mode.
withastro/docs#2947

@changeset-bot
Copy link

changeset-bot bot commented Mar 28, 2023

🦋 Changeset detected

Latest commit: f3f46ea

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Mar 28, 2023
@github-actions github-actions bot added the semver: minor Change triggers a `minor` release label Mar 28, 2023
@bholmesdev bholmesdev merged commit c0b7864 into main Mar 28, 2023
@bholmesdev bholmesdev deleted the fix/astro-server-in-build branch March 28, 2023 17:43
@astrobot-houston astrobot-houston mentioned this pull request Mar 28, 2023
bholmesdev added a commit that referenced this pull request Apr 7, 2023
bholmesdev added a commit that referenced this pull request Apr 7, 2023
* Revert "Fix: stop executing `astro:server:setup` twice (#6693)"

This reverts commit c0b7864.

* fix: delay `astro:server:setup` to `configureServer`

* test: middleware from astro:server:setup

* chore: lock

* chore: changeset

* chore: remove minimal example change

* chore: revert minimal env change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) semver: minor Change triggers a `minor` release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration entrypoint 'astro:server:setup' is executed during 'astro build'
2 participants