lein-daemon 0.3

142 views
Skip to first unread message

Allen Rohner

unread,
May 12, 2011, 12:18:57 AM5/12/11
to Clojure
I've released a new version of lein-daemon. daemon is like 'lein run',
only it runs the process in the background rather than blocking.

0.3 and up is a complete re-write, that no longer depends on apache
commons daemon. The new version has no dependencies on any external
programs.

For more, see https://github.com/arohner/lein-daemon

Alfredo

unread,
May 12, 2011, 3:42:57 AM5/12/11
to Clojure
Good job :)
Can I use this in order to run, for examples, a lein ring session as a
deamon? :)
Bye,
Alfredo

Allen Rohner

unread,
May 12, 2011, 11:54:59 AM5/12/11
to Clojure


> Can I use this in order to run, for examples, a lein ring session as a
> deamon? :)
>

Yes, that exactly its intention.

Alfredo

unread,
May 12, 2011, 12:20:14 PM5/12/11
to Clojure
Very useful indeed :)

Joao_Salcedo

unread,
Jun 25, 2012, 11:01:45 PM6/25/12
to clo...@googlegroups.com
Hi All I am using lein-daemon so it is a really great tool.
I have a question it might be silly , but when I run " lein daemon start :project-name" it is great but how can I get the propmt back
it is running compojure and the last line is 
2012-06-26 12:51:16.234:INFO:oejs.AbstractConnector:Started SelectChann...@0.0.0.0:3000
but I need the prompt back to start other scripts.
Any ideas about how can I achieve this.

Cheers,

JS 

Murtaza Husain

unread,
Jun 26, 2012, 2:01:09 AM6/26/12
to clo...@googlegroups.com

Hi,

This is a very useful tool, and I will be giving it a spin.

I would like to specify a file where it should log all the command line output, can I do that?

Thanks,
Murtaza

Jack Moffitt

unread,
Jun 26, 2012, 11:20:01 AM6/26/12
to clo...@googlegroups.com
>>> I've released a new version of lein-daemon. daemon is like 'lein run',
>>> only it runs the process in the background rather than blocking.
>>>
>>> 0.3 and up is a complete re-write, that no longer depends on apache
>>> commons daemon. The new version has no dependencies on any external
>>> programs.
>>>
>>> For more, see https://github.com/arohner/lein-daemon

Was there any particular reason for the removal of Commons Daemon
other than reducing dependencies? Does everyone just use lein run and
lein daemon in production as opposed to uberjars and jsvc?

jack.
Reply all
Reply to author
Forward
0 new messages