present icon indicating copy to clipboard operation
present copied to clipboard

Add live reload for slides

Open vinayak-mehta opened this issue 3 years ago • 6 comments

It would be nice to do this with pyinotify or watchdog; or maybe just pressing 'r'.

vinayak-mehta avatar Aug 26 '20 18:08 vinayak-mehta

With a present --watch option? And explicitly by pressing r if the watch option isn't specified.

vinayak-mehta avatar Aug 26 '20 19:08 vinayak-mehta

It seems like r may be a nice option here -- it's also what patat does.

mrshu avatar Aug 31 '20 08:08 mrshu

:+1:

vinayak-mehta avatar Aug 31 '20 08:08 vinayak-mehta

All right, I take it back -- it seems like r is already used for resetting codio: https://github.com/vinayak-mehta/present/commit/b8e87dc8a4e522f514f0529728d4a8a8064143ab

mrshu avatar Aug 31 '20 09:08 mrshu

All right, I take it back -- it seems like r is already used for resetting codio: b8e87dc

That only resets a codio-effect if present, as I understand it.

jorgenbs avatar Sep 02 '20 14:09 jorgenbs

Yes, currently r only resets a codio if its present on a slide. We can probably change the codio reset keybinding to something else, and have r do a hard reload for the current / all slides.

vinayak-mehta avatar Sep 02 '20 14:09 vinayak-mehta