Skip to content
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

Fix auto command on OS X #135

Closed
wants to merge 2 commits into from
Closed

Fix auto command on OS X #135

wants to merge 2 commits into from

Conversation

smutch
Copy link
Contributor

@smutch smutch commented May 3, 2016

This PR starts the fsevents observer on the main thread, allowing the auto command to pickup file changes and run the appropriate tasks. This may address #49 (and possibly #101) by fixing the current implementation without moving to using Watchdog.

The filewatcher test fails on OS X both before and after this patch, but testing the auto command manually after applying the patch seems to show that the auto command works. I am unaware if there are any unintended consequences of running the observer on the main thread though as I have no previous experience with fsevents.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 23f1749 on smutch:mac-auto-fix into * on pydoit:master*.

@schettino72
Copy link
Member

thanks. I will merge this soon. probably this week.

Please add your name to the authors file 😄

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 0847ad3 on smutch:mac-auto-fix into * on pydoit:master*.

@smutch
Copy link
Contributor Author

smutch commented May 3, 2016

Great! Glad its useful.

Thanks for a great piece of software. I only started using a week ago, but it is already proving really useful for my research!

@schettino72
Copy link
Member

thanks

@amitu
Copy link

amitu commented Jun 7, 2016

When is the next release planned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants