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

Only refresh when files of a given type change #2

Open
CMTegner opened this issue Sep 14, 2012 · 0 comments
Open

Only refresh when files of a given type change #2

CMTegner opened this issue Sep 14, 2012 · 0 comments

Comments

@CMTegner
Copy link
Owner

Right now the refresh mechanism is triggered regardless of which files are updated, even updates to the actual directory node will trigger a refresh. The original thought behind refreshr was to match the changed files against a (configurable) whitelist to check if a refresh was desired.

Since the fs.watch method isn't consistent across OS-es, refreshr will need to manually keep track of which files get changed.

The whitelist will have sane defaults, but will also be configurable via command line options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant