feat: properly configure Netlify dev command

This commit is contained in:
Harsh Shandilya 2022-11-22 10:44:02 +05:30
parent 65e8ca6ced
commit 44491ab111
2 changed files with 8 additions and 1 deletions

View File

@ -31,7 +31,7 @@
{
name = "dev";
category = "development";
command = "hugo serve -D";
command = "yarn exec ntl dev";
help = "Run the Hugo development server";
}
{

View File

@ -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"