-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
priority: hightype: bugcode to address defects in shipped codecode to address defects in shipped code
Description
When adding
[dev]
framework = "#static"
to the netlify.toml, ntl dev
starts a static http server, serving files from the publish directory. This more closely mirrors what's happening with the app when it runs on Netlify.
However, right now ntl dev
fails and only displays "Not Found" on the page, as we haven't generated and added redirects to the netlify.toml file, as we're doing when actually building. We need to add these redirects in the onPreDev step to allow ntl dev
to function properly in this case.
This is also blocking #1553
Metadata
Metadata
Assignees
Labels
priority: hightype: bugcode to address defects in shipped codecode to address defects in shipped code