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

Add option to disable auto reload on update #192

Merged
merged 1 commit into from
Nov 12, 2017

Conversation

nisargjhaveri
Copy link
Contributor

Related, #161

@izuzak
Copy link
Owner

izuzak commented Nov 11, 2017

Thanks for opening a pull request, @nisargjhaveri 🙇 ⭐️

I just tried testing this out, but it seems like it breaks something. With the "Auto reload on update" config option set to true, I tried updating the PDF (replacing it with a PDF with the same name), but the PDF didn't auto-reload in this package (which is unexpected, because the config option is set to true).

If I do the same on master, the PDF reloads correctly.

Happy to review this again if you'd like to take a look and fix that problem.

@nisargjhaveri
Copy link
Contributor Author

Changed to atom.config.observe from atom.config.onDidChange. This should fix the problem.

Check now?

@izuzak
Copy link
Owner

izuzak commented Nov 12, 2017

Changed to atom.config.observe from atom.config.onDidChange. This should fix the problem.

Yep, looks good now 👍 Thanks again for this!

@izuzak izuzak merged commit efdb514 into izuzak:master Nov 12, 2017
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.

2 participants