Support for 'lein ring server' #105

merged 2 commits into from Sep 15, 2011


None yet
3 participants

srid commented Sep 15, 2011

Unlike lein run - lein ring server automatically reloads modified files.

Without this, lein ring server is broken,

More on what 'ring server' (from lein-ring) actually does:

The following command will start a development web server, and opens a
web browser to the root page:

lein ring server

The server monitors your source directory for file modifications, so any
altered files will automatically be reloaded.

By default, this command attempts to find a free port, starting at
3000, but you can specify your own port as an argument:

lein ring server 4000

The server-headless command works like the server command, except that
it doesn't open a web browser:

lein ring server-headless

lein ring server-headless 4000

Sridhar Ratnakumar added some commits Sep 15, 2011

Sridhar Ratnakumar Support for 'lein ring server'
Unlike 'lein run' - 'ring server' automatically recompiles changed

Without this, 'ring server' is broken,
Sridhar Ratnakumar 'lein run' is not necessary anymore; and 'lein ring server' opens web
browser automatically

gigasquid commented Sep 15, 2011

Nice! Thank you.

@amalloy amalloy added a commit that referenced this pull request Sep 15, 2011

@amalloy amalloy Merge pull request #105 from srid/playground
Support for 'lein ring server'

@amalloy amalloy merged commit 28abd2b into 4clojure:develop Sep 15, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment