1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 08:58:30 -04:00

fix netlify dev

https://cli.netlify.com/netlify-dev#project-detection

[skip ci]
This commit is contained in:
Jake Jarvis 2020-05-12 06:40:50 -04:00
parent 917fde01dd
commit a4dab78f99
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@
# https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#netlifytoml-dev-block
[dev]
framework = "#custom"
command = "yarn start --baseURL / --appendPort=false"
port = 1338
targetPort = 1337

View File

@ -30,7 +30,8 @@
"lint:md": "markdownlint content/**/*.md content/**/**/*.md",
"lint:prettier": "prettier --check .",
"index": "run-s clean hugo index:**",
"index:algolia": "npx atomic-algolia"
"index:algolia": "npx atomic-algolia",
"live": "netlify dev --live"
},
"dependencies": {},
"devDependencies": {