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

Just a question #13

Open
BobRay opened this issue Jul 4, 2018 · 1 comment
Open

Just a question #13

BobRay opened this issue Jul 4, 2018 · 1 comment

Comments

@BobRay
Copy link

BobRay commented Jul 4, 2018

Since you are sending the previous modification time in every Ajax request but the first, why not have the PHP code echo the message, then die()?

If changes are missed, you could put the sleep() call in the code that writes the file content rather than in your loop.

@panique
Copy link
Owner

panique commented Jul 4, 2018

Hi Rob, to be honest I don't know why :)
This project is some years old (5 i think) and I dont remember, BUT may it has to do with the die() / exit() you mentioned, as code that contains die()/exit() is hard to test in unit tets etc (as the tests will stop when you try to test code).

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

2 participants