pandeiro / boot-http

A simple HTTP serve task for the Boot build tool
62 stars 34 forks source link

Only load tools.nrepl when needed #64

Closed bhagany closed 7 years ago

bhagany commented 7 years ago

This addresses the feedback on https://github.com/pandeiro/boot-http/pull/61. While it was merged, @pandeiro expressed a desire that tools.nrepl not be loaded if nrepl isn't needed. To that end, this PR undoes the change in #61, and instead moves the offending require statement from the startup invocation in the worker pod to pandeiro.boot-http.impl/nrepl-server.

pandeiro commented 7 years ago

Looks great, thanks!