From f5eaa5f8f79ff8d942a2cbcc0ac59d13a4665f4b Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch Date: Sun, 9 Feb 2025 17:07:25 +0700 Subject: [PATCH] build(fix): log server output into log file Signed-off-by: Patrick Kollitsch --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8e1dd90..51c06db 100644 --- a/package.json +++ b/package.json @@ -57,10 +57,10 @@ "command": "commit-and-tag-version --sign -a -t \"v\" --releaseCommitMessageFormat \"chore(release): v{{currentTag}}\" --prerelease prerelease -- --no-verify" }, "server": { - "command": "cd exampleSite; rm -rf public; hugo server -D -E -F --environment gargulus --navigateToChanged --disableFastRender --forceSyncStatic --logLevel debug --tlsAuto --printI18nWarnings --printMemoryUsage --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints" + "command": "cd exampleSite; rm -rf public; hugo server -D -E -F --environment gargulus --navigateToChanged --disableFastRender --forceSyncStatic --logLevel debug --tlsAuto --printI18nWarnings --printMemoryUsage --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints 2>&1 | tee -a hugo.log" }, "server:fail": { - "command": "cd exampleSite; rm -rf public; hugo server -D -E -F --environment gargulus --navigateToChanged --disableFastRender --forceSyncStatic --logLevel debug --tlsAuto --panicOnWarning --printI18nWarnings --printMemoryUsage --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints" + "command": "cd exampleSite; rm -rf public; hugo server -D -E -F --environment gargulus --navigateToChanged --disableFastRender --forceSyncStatic --logLevel debug --tlsAuto --panicOnWarning --printI18nWarnings --printMemoryUsage --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints 2>&1 | tee -a hugo.log" } } }