Giter Club home page Giter Club logo

Comments (4)

alexch avatar alexch commented on August 24, 2024

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.

philc avatar philc commented on August 24, 2024

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.

alexch avatar alexch commented on August 24, 2024

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.

philc avatar philc commented on August 24, 2024

This is the sinatra reloader I was referring to: https://github.com/sinatra/sinatra-contrib/

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.