LearnBoost / up

Zero-downtime reloads and requests load balancer based on distribute.
540 stars 73 forks source link

Added support for the --require option to enable CoffeeScript (or other transcoders) when loading the server #47

Closed simonexmachina closed 12 years ago

simonexmachina commented 12 years ago

Simply added code to require each of the --require options before calling server = require(file)

rauchg commented 12 years ago

Needs README docs.

simonexmachina commented 12 years ago

Good point, that's done now.

rauchg commented 12 years ago

Excellent. One final nitpick, it'd be nice to support --require|-r

simonexmachina commented 12 years ago

Maybe I'm not understanding what you're asking for. I've updated the README file to explicitly indicate that -r can be used for transpiler support:

- Tranpilers such as CoffeeScript can be supported with `--require|-r

coffee-script`

Is that what you mean?