joliss/broccoli — pull request #63 by jnicklas (2014-03-12 07:46:53+00:00)
Title: Add option to proxy requests to another server

This PR adds a command line option which allows users to proxy requests to another server if they aren't found among the result tree of the broccoli build. This enables a very nice workflow, since users won't have to do any additional work in integrating broccoli into their app. Cookies, AJAX, everything just works. Another neat feature is that build error are always shown in the browser.

I know this idea has previously been shot down by @joliss, but I wanted to show just how simple this is, for a huge gain in usability. With this very simple PR, broccoli works nicely *right now* with any web framework. That's good for early adoption, and good for the project in the long term. I do think that the CLI *is* important, and offering people, especially early adopters, a nice experience is worthwhile, even if the eventual goal is to integrate broccoli with other task running tools.