Output a timestamp with Hugo Watch

It’s hard sometimes to know if hugo watch has rendered the site after a change as outputs look identical. Compass watch puts a time stamp with each rendering of the scss which makes it easy to know if and when.

So the feature request is that hugo watch do the same.

You could add {{ .Now.Local }}to your template? Or that’s not what you mean?

I think he means in the console output. I think this is a great idea. It would be a really addition for someone who wants to get started committing to Hugo.

yes in the console

Since this is so simple why not point me to the place in the go source and I will see if I can add it myself. It would be my first “go” coding experience :slight_smile: and I get to contribute.

That would be great.

See https://github.com/spf13/hugo/blob/master/commands/server.go#L110

Let me know if you have any questions.

Ah right of course :slight_smile: