Skip to content

Support Netlify Edge Functions #1

Open
@Ehesp

Description

@Ehesp

Netlify offers an integration integartions to work with the Netlify CLI. We've got a package setup to handle this integration but it needs some love. There's a few things to figure out:

Netlify CLI first scans for generated functions, and then runs the provided build command. This means it first starts with no functions, or old ones & serves them. Once that's complete, it then runs the compiler, detects a new function and reloads. This causes a bit of a janky developer experience.

Another issue seems to be that Netlify isn't detecting file changes from a process, and thus doesn't reload the server. Manually saving the file triggers a build, so need to investigate what's going on there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions