Skip to content

Commit

Permalink
netlify.toml: declare framework for dev
Browse files Browse the repository at this point in the history
I've found that adding this live means I can use

    netlify dev --offline

without any further switches. For some reason, I had run into trouble with
"cecil" when using it like that.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
  • Loading branch information
srenatus committed Nov 2, 2022
1 parent 370da0a commit 65b9feb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netlify.toml
Expand Up @@ -17,6 +17,7 @@ command = "make netlify-preview WASM_ENABLED=0 CGO_ENABLED=0"
# "netlify dev" will serve the static content using netlify locally
# with all the redirects and other netlify specific rules in place.
publish = "docs/website/public"
framework = "#static"

# To run the netlify dev service with hugo dev server "live" behind
# it uncomment these lines:
Expand Down

0 comments on commit 65b9feb

Please sign in to comment.