Document that Hugo’s multihost most is not supported and handle the error better
I got multilingual mode working in Hugo, but Site.js’s
site command can no longer run Hugo:
🚧 ❨Site.js❩ Using locally-trusted certificates. 🔒 ❨@small-tech/https❩ Creating server at localhost with locally-trusted certificates. 📜 ❨Nodecert❩ Local development TLS certificate exists. 🔒 ❨@small-tech/https❩ Created HTTPS server. Hugo source directory found at /Users/laura/Repos/site-js/starters/blog/.hugo Mount path / 🎠 Starting Hugo server (Hugo source detected in .hugo). sourcePath .hugo destinationPath ../.generated/ (node:52793) UnhandledPromiseRejectionWarning: Error: --appendPort=false not supported when in multihost mode (node:52793) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:52793) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(Hugo stills runs find from the
.hugo folder with
hugo server -D. I know this is obvious…)