diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-25 23:33:18 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-25 23:33:18 +0200 |
| commit | 88081d955e38264b6c7cd2be522ea6040a35d62c (patch) | |
| tree | a9717045e286199c309befd439653c888e27fec1 | |
| parent | fff911885ae02c98b6b13f3a34c9120241dc7b78 (diff) | |
| download | gohugo-theme-ed-88081d955e38264b6c7cd2be522ea6040a35d62c.tar.gz | |
Add server command
| -rw-r--r-- | .gitignore | 5 | ||||
| -rw-r--r-- | exampleSite/.gitignore | 3 | ||||
| -rw-r--r-- | package.json | 3 |
3 files changed, 6 insertions, 5 deletions
@@ -7,4 +7,7 @@ # Directories to ignore (do not add trailing '/'s, they skip symlinks). /node_modules/ -/exampleSite/resources/ +resources/ +public/ + +.hugo_build.lock diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore deleted file mode 100644 index 332ee17..0000000 --- a/exampleSite/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/public/ - -.hugo_build.lock diff --git a/package.json b/package.json index f7e522c..a351ada 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "url": "git+https://github.com/sergeyklay/gohugo-theme-ed.git" }, "scripts": { - "deploy": " cd exampleSite; hugo;", + "deploy": "cd exampleSite; hugo;", + "server": "cd exampleSite; hugo server -D --disableFastRender", "lint:editorconfig": "editorconfig-checker", "lint:js": "eslint static/js/*.js", "lint": "npm run lint:js && npm run lint:editorconfig" |
