Comments (3)
Try blocking it in your Guardfile (untested):
watch(%r{^(config|lib)/.*\.([^.]+)$}) { |m| m[0] if m[2] != 'yml' && !m[0]['locales'] }
from guard-rails.
Worked right off the bat, Nice one. Whats even nicer is the LiveReload kicking in too. Perhaps this would be good 'Tip' for the bottom of the readme?
from guard-rails.
I'll think about actually making it the default. When I initially wrote this, I wasn't doing a lot with locales in the projects I was working on, but it's a good idea. The only thing it won't catch right now is if a locale file is added, which Rails doesn't seem to pick up while running. I'll ponder a bit.
from guard-rails.
Related Issues (17)
- Forcibly close the process holding open the socket you want if it's open
- Log output interrupts test output HOT 3
- Debugger do not work properly HOT 4
- How would one use bundle exec? HOT 2
- Does not work with mountable engines HOT 2
- Depreciation Warning run_on_change HOT 1
- Guard restart Rails in test mode not in development
- The next release HOT 2
- Doesn't work well with RSpec/guard-rspec
- The dependency on version is incompatible with paper_trails version class HOT 3
- foreman support HOT 1
- uninitialized constant Guard::Dsl::Rails,
- Ensure Guard returns a boolean status HOT 2
- add other server option HOT 4
- Rails server should be (re)started on reload? HOT 1
- it doesn't support rails 2.* HOT 2
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 guard-rails.