From a677d6a6b9f68cfa7a3d19553048be55ead54af1 Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Tue, 24 Aug 2021 11:18:15 +0800 Subject: [PATCH] update scripts --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e8681ad..f996c9e 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "license": "MIT", "private": true, "scripts": { - "server": "hugo server -Dw --minify --disableFastRender --themesDir ../.. --source exampleSite", - "open": "open http://localhost:1313/", + "server": "hugo server -Dw --minify --disableFastRender --themesDir=../.. --source=exampleSite --bind=0.0.0.0", + "open": "open http://0.0.0.0:1313/", "go": "cp exampleSite/go.default.mod exampleSite/go.mod", - "site": "hugo --gc --minify --config go.toml,config.toml --themesDir ../.. --source exampleSite", + "site": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml", "dev": "yarn open & yarn server", "build": "yarn go & yarn site" },