I am in a windows environment and I run hugo with the following parameters
&hugo.exe server --navigateToChanged --renderToDisk --gc --cleanDestinationDir --disableFastRender --disableLiveReload --forceSyncStatic
What I find is that if I have a problem with the site, say for example, I have a shortcode error or something…when I execute the above command, the hugo process quits…
If on the other hand, I have no errors, hugo will continue to run. If while editing things and it does an update, and hits an error, it will tell me, but continue to run…(this is the desired behaviour for me)
Is there any way I can get hugo server to continue running even if there is an error on first load?
It’s regenerating so, when it can’t do that due to an error, it follows that it can’t also serve the site. Hence the stoppage, is my understanding. I’ve always just focused on fixing that kind of major error first, so I can serve the site again.