Skip to content

Commit f4b7f72

Browse files
authored
[CI] Hugo serve to/from memory, as was the case before (#4437)
1 parent 9590e21 commit f4b7f72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"_prettier:any": "npx prettier --ignore-path ''",
2929
"_rename-to-kebab-case": "find assets content static -name '*_*' ! -name '_*' -exec sh -c 'mv \"$1\" \"${1//_/-}\"' _ {} \\;",
3030
"_serve:hugo": "hugo server -DFE --minify",
31-
"_serve:netlify": "netlify dev -c \"npm run _serve:hugo\"",
31+
"_serve:netlify": "netlify dev -c \"npm run _serve:hugo -- --renderToMemory\"",
3232
"_sync": "./scripts/sync-submodules.pl",
3333
"all": "bash -c 'x=0; for c in \"$@\"; do npm run $c || x=$((x+1)); done; ((!x)) || (echo \"ERROR: some scripts failed!\" && exit 1)' -",
3434
"build:preview": "set -x && npm run _build -- --minify",
@@ -77,9 +77,9 @@
7777
"prefix:submodules": "npm run update:submodule",
7878
"schemas:update": "npm run update:submodule content-modules/opentelemetry-specification",
7979
"seq": "bash -c 'for cmd in \"$@\"; do npm run $cmd || exit 1; done' - ",
80-
"serve:hugo": "npm run _serve:hugo",
80+
"serve:hugo": "npm run _serve:hugo -- --renderToMemory",
8181
"serve:netlify": "npm run _serve:netlify",
82-
"serve": "npm run serve:hugo",
82+
"serve": "npm run serve:hugo --",
8383
"sync": "./scripts/sync-submodules.pl",
8484
"test-and-fix": "npm run seq -- check fix:dict fix:filenames",
8585
"test": "npm run check",

0 commit comments

Comments
 (0)