more elegant solution to waiting on user abort

master
Josha von Gizycki 7 years ago
parent f8cc5366bd
commit 68d3330c59

@ -1,4 +1,4 @@
(defproject joshavg/lein-neo4j "0.2.0"
(defproject joshavg/lein-neo4j "0.3.0"
:description "neo4j server invokable from leiningen"
:url "https://gitea.heevyis.ninja/josha/lein-neo4j"
:license {:name "GPL-3.0"

@ -12,4 +12,4 @@
config (get-in project [:neo4j :config] {})
server (CommunityBootstrapper.)]
(.start server path (Optional/empty) config)
(while true (Thread/sleep 10000))))
(while (not= nil (read-line)))))

Loading…
Cancel
Save