-
Notifications
You must be signed in to change notification settings - Fork 79
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
Reload on dotenv hidden files #117
Comments
Unfortunately, all files beginning with dot are ignored. This is a limitation of the file-change-monitoring library we're using -- I'm not sure if it's inside the Listen gem itself, or lower down inside |
I've used before the |
Good point! Here is the line where we add all dotfiles to the ignore list: https://github.com/alexch/rerun/blob/master/lib/rerun/watcher.rb#L86 I believe I did this in order to match the shell-glob behavior (where It shouldn't be difficult to implement; the hard(ish) part will be to write tests demonstrating the desired behavior and testing it across different adapters/platforms. There's also this dude to reckon with: https://github.com/guard/listen/blob/master/lib/listen/silencer.rb |
Okay, I think I did it. I'll reopen this issue until I get confimation from you. Can you please try the master branch? https://github.com/alexch/rerun#installation-via-gemfile--bundler has instructions for using prerelease versions. |
The default ignore pattern doesn't allow to reload on
.env
files of https://github.com/bkeepers/dotenvThe text was updated successfully, but these errors were encountered: