Skip to content

HMR broken with actions #16913

@Eptagone

Description

@Eptagone

Astro Info

Astro                    v6.4.2
Node                     v22.22.0
System                   Linux (x64)
Package Manager          pnpm
Output                   server
Adapter                  @astrojs/node
Integrations             none

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

If you edit an astro action, the changes are not applied until you restart the dev server.

What's the expected result?

The changes to be applied

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-5uy9vn6q?file=src%2Factions%2Ftest.ts

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P4: importantViolate documented behavior or significantly impacts performance (priority)pkg: astroRelated to the core `astro` package (scope)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions