New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watch #71
Watch #71
Conversation
slides when they change added watchdog dependency to setup.py
slides when they change
I have been using this to prepare a presentation and just uncovered some bugs.
This results in really high slide numbers and a repetitive table of contents I will look into these, so I don't recommend merging this in quite yet. |
I have fixed the table of contents and slide numbers bugs. Do you have any feedback on this adamzap? thanks. |
I'm trying to decide whether we should require watchdog or make it optional. Maybe if they try the -w flag, it would try to import watchdog and upon a failure, tell them to install it. What do you think? I guess I'm hesitant to add watchdog as a dependency (along with its many dependencies). Maybe I'm wrong. |
Whenever I save my .md file in vim, I immediately get this from the watch process:
Any ideas? Maybe it's me. |
Just simulated a run using a near identical command And it worked. I am on python 2.7.1 . I would hate for that to be the reason. I'll test with a virtual environment. |
I think it would be fine to tell them just to install watchdog. FYI: That is a little concerning that he hasn't touched that project since February. Watchdog itself looks pretty active though: |
I tried smultron, and it's not seeing the changes...weird. Which editor are you using? I'll play with this more tonight. I'm probably missing something. |
I use vim too. |
Just tested on python 2.7.2 and it works fine for me. |
I used your code as starting point and finally implemented this...a year later. Thanks! |
watch command for landslide. solves issue #66.
Adds new dependency: watchdog
Tested on mac osx.
It works by first writing the presentation. As it is being written it creates an array of sources that gets parsed. It simply watches any of the files that were parsed and if they change then it regenerates the presentation.
Use Ctrl-C to exit watch mode.