Comments (4)
Nice idea, but I'm closing this as "out of scope". Guard and Spork both let you do similar things and I'd like to keep rerun lean and mean. Though if you can show me in code what you mean I may end up liking it.
If you insist on using rerun, your plan for using signals sounds good. A few months ago I tweaked the signal algorithm so rerun does a graceful and predictable escalation of signals -- see Runner#stop (currently at https://github.com/alexch/rerun/blob/master/lib/rerun/runner.rb#L183-205).
from rerun.
Hey @alexch, at Ooyala we use Rerun with tens of Ruby Sinatra webapps, but we're progressively switching to Sinatra reloader to mitigate the developer experience I described. Sinatra rerun has its own problems and Rerun is a better solution conceptually, but thus far for us, being fast has trumped correctness in priority. Because of this migration I haven't prototyped this prewarming solution in code.
from rerun.
By "Sinatra reloader" do you mean Shotgun or something else?
I'd love to see more detail about what you're proposing. Maybe a combination of a --before option (to launch a daemon) and a --signal option (to kick it)?
Sent from my iPhone
On Jul 12, 2012, at 2:32 PM, Phil [email protected] wrote:
Hey @alexch, at Ooyala we use Rerun with tens of Ruby Sinatra webapps, but we're progressively switching to Sinatra reloader to mitigate the developer experience I described. Sinatra rerun has its own problems and Rerun is a better solution conceptually, but thus far for us, being fast has trumped correctness in priority.
Reply to this email directly or view it on GitHub:
#17 (comment)
from rerun.
This is the sinatra reloader I was referring to: https://github.com/sinatra/sinatra-contrib/
from rerun.
Related Issues (20)
- 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
- Reload on dotenv hidden files 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
- Error "undefined method `exists?' for FileTest:Module" when using the `FileTest.exists?` method HOT 1
- Use `RbConfig.ruby` to invoke ruby executable
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.