Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Missing small but important logging information when using watch #3696
I had problems locating which file was throwing an error:
Using hugo -w mode and -verboseLog, the following logging appears on log file:
INFO 2017/07/13 14:14:01 Using config file:
HERE HUGO FINALLY CRASH AND IS BEING RESTARTED BY A CRON JOB
INFO 2017/07/13 14:15:14 Using config file:
When I use start manually hugo (without -w mode), I also get the same error but it's finally followed by a very useful information in the console, the file which causes the error ;-)
Started building sites ...
HERE HUGO FINALLY CRASH BUT I DONT CARE, I KNOW WHERE TO SEARCH
should be very nice if logging could log the file name even in watch mode.