Closed fool closed 1 month ago
one possible route would be to use npm run to manage the hugo version and its execution. in my "tooling" branch i have it setup for "build" but we could do similar for run.... something along the lines of
{
"devDependencies": {
"hugo-installer": "^4.0.1",
....
},
"scripts": {
"postinstall": "hugo-installer --version 0.84.4",
"run": "npm run build-hugo && npm run ./app/app.js",
"build-hugo": "exec-bin bin/hugo/hugo -s site -d ./site/public",
....
}
}
See also #587 and #595
Check and configure all the necessary things about hugo: