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

Example code? #3

Open
joe9 opened this issue Jul 16, 2016 · 3 comments
Open

Example code? #3

joe9 opened this issue Jul 16, 2016 · 3 comments

Comments

@joe9
Copy link

joe9 commented Jul 16, 2016

Hello,

Could you please add some examples?

Thanks

@lpsmith
Copy link
Owner

lpsmith commented Jul 19, 2016

Perhaps, though this is will be a very low-priority task for me. There is some public example code in my react-comments repository. What it does is watches for changes to the javascript files that make up the client, and if it sees a change, then it tells the javascript clients to reload themselves.

I have been meaning to create a couple minimal recreations of tail -f, and the utilities in inotify-tools. I have some of this done, though they need to be polished up and added to the repo.

This interface is close enough to the actual C inotify interface that it should be reasonably straightforward to look at inotify example code written in C and translate it to Haskell.

@joe9 joe9 closed this as completed Jul 27, 2016
@lpsmith
Copy link
Owner

lpsmith commented Jul 27, 2016

I wouldn't close this, this is definitely an issue. (though admittedly low priority) Pull Requests Welocme! Take care!

@lpsmith lpsmith reopened this Jul 27, 2016
@benitogf
Copy link

@lpsmith #4 based on the sample mentioned above, getting a weird behaviour of duplicated events after the first run though :) any help is appreciated

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

3 participants