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

juttle-engine-client watch doesn't work well on unix systems #94

Open
rlgomes opened this issue Mar 18, 2016 · 0 comments
Open

juttle-engine-client watch doesn't work well on unix systems #94

rlgomes opened this issue Mar 18, 2016 · 0 comments

Comments

@rlgomes
Copy link
Contributor

rlgomes commented Mar 18, 2016

Seems to detect the very first change and then stops after that, I did some quick debugging and figured its because the chokidar package is quite "buggy" and tries to massage some of the existing issues with using fs.watch and fs.watchFile but ultimately only works well on OSX. So I dug around a bit and there are some options to do polling which we could turn on and simply poll every second and it works perfectly fine on my system. I think we could detect the OS and take advantage of the non polling version on OSX while simply defaulting to polling every second on other systems doesn't seem like a horrible solution till chokidar or fs.watch becomes more reliable in the near future.

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

No branches or pull requests

1 participant