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

Improve file watcher behavior #221

Open
veosotano opened this issue Mar 24, 2013 · 2 comments
Open

Improve file watcher behavior #221

veosotano opened this issue Mar 24, 2013 · 2 comments
Milestone

Comments

@veosotano
Copy link
Member

I have only tested this on Mac. What happens is that when you open an xml or hss file, the first time you make a change to that file and save, it reloads. But then, unless you restart the app, it doesn't do it anymore.

Another thing is that when opening an xml file, for example, and you make a change to the linked hss file, it doesn't do anything either.

@jakepetroules
Copy link
Contributor

I think this is related to another issue where we were talking about an AXRDocument could have an AXRController for each file it has loaded (xml, hss 1, hss 2). So, when you load a document, it can report back its URLs so the watcher can watch them.

The refreshing is due to TextMate, which somehow bypasses the normal saving mechanism.

This is also a browser issue and should be moved.

@veosotano
Copy link
Member Author

The file watcher behavior improved with axr/browser@e9e313b, although now it shows annoying messages in the OS console each time it refreshes.

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