1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 22:55:31 -04:00

fix netlify dev

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

[skip ci]
This commit is contained in:
2020-05-12 06:40:50 -04:00
parent 917fde01dd
commit a4dab78f99
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 # https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#netlifytoml-dev-block
[dev] [dev]
framework = "#custom"
command = "yarn start --baseURL / --appendPort=false" command = "yarn start --baseURL / --appendPort=false"
port = 1338 port = 1338
targetPort = 1337 targetPort = 1337

View File

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