Netlify + Eleventy + Dev Server

Hi @scottfwalter

You may need/want to add a [dev] section to the netlify.toml with the 11ty dev command (--serve or --watch from what I have found)
E.g.

[build]
  command = "npm run build"
  publish = "public"

[dev]
  command = "npm run start" # or serve/dev/watch, depending on the scripts in package.json

Reference

2 Likes