rmcgibbo / slidedeck

Beautiful HTML5 slides in markdown. A easy-to-use fork of the google-io-2012 slide deck
317 stars 47 forks source link

Should `watch` also `render`? #3

Closed kyleabeauchamp closed 11 years ago

kyleabeauchamp commented 11 years ago

If you watch something, you could still be sitting on an obsolete version of slides, because the markdown doesn't actually change.

Does it make sense for watch to first render the latest version of the slides?

rmcgibbo commented 11 years ago

Yeah, that seems reasonable. A clever thing might be to put the MD5 hash of the markdown as a comment at the top of the html, so that you could check if the two are consistent, but this is easier.

rmcgibbo commented 11 years ago

Do you want to file a PR on this? I can do it pretty easily, but I don't want to duplicate work.

rmcgibbo commented 11 years ago

+1