                 (nil? exit?) not)]
     (comp
       (testing)
+      (if windows? (add-node-modules) identity)
       (test-cljs
         :js-env :node
         :namespaces #{'lumo.js-deps-tests 'lumo.repl-tests}

    (watch)
    (speak)
    (test :exit? false)))

(def windows?
  (.startsWith (.toLowerCase (System/getProperty "os.name")) "windows"))

(deftask check-node-modules []
  (with-pass-thru _


(import [java.io ByteArrayOutputStream FileInputStream])

(def windows?
  (.startsWith (.toLowerCase (System/getProperty "os.name")) "windows"))

(deftask add-node-modules []
  (with-pre-wrap fileset
    (let [nm (io/file "node_modules")]
      (-> fileset
        (add-resource (io/file ".") :include #{#"^node_modules[\\\/]parinfer"})
        commit!))))

(deftask testing []
  (set-env! :source-paths #(conj % "test"))
  identity)
