Comments (4)
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 fsevent
or whatever. If you happen to research this, please let me know what you find. Learn more at https://github.com/guard/listen#listen-adapters
from rerun.
I've used before the listen
gem to watch the .env
files
from rerun.
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 *
matches everything except dotfiles). Why didn't I ever add a --no-ignore-dotfiles
option? I have a dim memory that I couldn't get it to work consistently across different adapters, but that may have been fixed once I moved over to using the Listen backend.
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
from rerun.
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.
from rerun.
Related Issues (20)
- Errno::EACCES: Permission denied when using --ignore HOT 1
- Gem::LoadError - terminal-notifier is not part of the bundle HOT 1
- Server takes long to restart. Too much buffering time HOT 1
- Running two commands (bundle && rails s) HOT 3
- ffi incompatibility with my version of ruby on installation using gem HOT 3
- error when running "rerun" with bundle 1.14.3 HOT 1
- Bind changed file path HOT 1
- inside docker container HOT 4
- Add new maintainers HOT 1
- JRuby support HOT 3
- Watching for git branch switches HOT 1
- Usage is output even when certain args are provided
- Publish Version 0.13.1 HOT 4
- [DEPRECATED] `Bundler.with_clean_env` on Bundler 2.1.x
- You cannot override wait parameter
- no rerun executable installed
- Q: how to trigger *automatic* pause/resume with debug HOT 1
- Q: is it possible to watch only one file? [SOLVED] HOT 2
- [DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rerun.