Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
lib
Node Hugo
Commits
2878fa07
Verified
Commit
2878fa07
authored
Feb 10, 2020
by
Aral Balkan
Browse files
Closes
#1
: launch Hugo server with --disableFastRender option
parent
c7d733df
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
2878fa07
...
...
@@ -7,8 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
Nothing yet.
## [1.0.1] - 2020-02-10
## [1.0.0] - TBA
### Fixes
-
Disables fast render so Hugo updates are more consistent.
## [1.0.0] - 2020-02-07
Initial release.
index.js
View file @
2878fa07
...
...
@@ -77,6 +77,7 @@ class Hugo {
'
--renderToDisk
'
,
'
--disableLiveReload
'
,
'
--appendPort=false
'
,
'
--disableFastRender
'
]
const
options
=
{
env
:
process
.
env
}
const
hugoServerProcess
=
spawn
(
this
.
hugoBinaryPath
,
args
,
options
)
...
...
package.json
View file @
2878fa07
{
"name"
:
"@small-tech/node-hugo"
,
"version"
:
"1.0.
0
"
,
"version"
:
"1.0.
1
"
,
"description"
:
"A basic cross-platform interface to the Hugo binary from Node.js."
,
"main"
:
"index.js"
,
"scripts"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment