feat: properly configure Netlify dev command
This commit is contained in:
parent
65e8ca6ced
commit
44491ab111
|
@ -31,7 +31,7 @@
|
|||
{
|
||||
name = "dev";
|
||||
category = "development";
|
||||
command = "hugo serve -D";
|
||||
command = "yarn exec ntl dev";
|
||||
help = "Run the Hugo development server";
|
||||
}
|
||||
{
|
||||
|
|
|
@ -2,6 +2,13 @@
|
|||
command = "hugo"
|
||||
publish = "public"
|
||||
|
||||
[dev]
|
||||
command = "hugo serve"
|
||||
targetPort = 1313
|
||||
port = 8888
|
||||
publish = "public"
|
||||
autoLaunch = false
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.106.0"
|
||||
|
||||
|
|
Loading…
Reference in New Issue