diff --git a/src/sass4clj/integrant.clj b/src/sass4clj/integrant.clj index bbf3234..93d68e1 100644 --- a/src/sass4clj/integrant.clj +++ b/src/sass4clj/integrant.clj @@ -5,15 +5,15 @@ (defmethod ig/init-key ::sass4clj [_ options] (api/start options)) -(defmethod ig/halt-key! ::sass4clj [this options] - (api/stop this)) +(defmethod ig/halt-key! ::sass4clj [_ watcher] + (api/stop watcher)) -(defmethod ig/suspend-key! ::sass4clj [this options] +(defmethod ig/suspend-key! ::sass4clj [_ watcher] nil) (defmethod ig/resume-key ::sass4clj [key opts old-opts old-impl] (if (= opts old-opts) old-impl (do - (ig/halt-key! key old-opts) + (ig/halt-key! key old-impl) (ig/init-key key opts))))