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

Support Netlify Edge Functions #1

Open
Ehesp opened this issue Feb 2, 2023 · 0 comments
Open

Support Netlify Edge Functions #1

Ehesp opened this issue Feb 2, 2023 · 0 comments

Comments

@Ehesp
Copy link
Member

Ehesp commented Feb 2, 2023

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.

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

No branches or pull requests

1 participant