Git Product home page Git Product logo

Comments (4)

alexch avatar alexch commented on July 27, 2024

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.

brauliobo avatar brauliobo commented on July 27, 2024

I've used before the listen gem to watch the .env files

from rerun.

alexch avatar alexch commented on July 27, 2024

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.

alexch avatar alexch commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.