From 71806ee7e37b46117af0c0762c72a3ac4707cb15 Mon Sep 17 00:00:00 2001 From: Nicholas Kariniemi Date: Sat, 24 Aug 2013 18:13:26 +0300 Subject: [PATCH] Use dev db if not production --- src/clj/grub/core.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clj/grub/core.clj b/src/clj/grub/core.clj index 941440c..6e0d6ad 100644 --- a/src/clj/grub/core.clj +++ b/src/clj/grub/core.clj @@ -54,4 +54,5 @@ (some #(= % "integration") args) (run-integration-test) (some #(= % "production") args) (do (reset! js-file "/js/grub.js") (start-server default-port)) - :else (start-server default-port))) + :else (do (db/connect-and-handle-events "grub-dev") + (start-server default-port))))