         (not= (:dependencies cp) (:dependencies config))
         )))
 
-(defn get-classpath [project-root {:keys [cache-root] :as config}]
+(defn get-classpath [project-root {:keys [cache-root version] :as config}]
   (let [cp-file (path/resolve project-root cache-root "classpath.edn")]
 
     ;; only need to rebuild the classpath if :dependencies

         "clojure.main"
         "-e" "(run! compile '[shadow.cljs.devtools.api shadow.cljs.devtools.server shadow.cljs.devtools.cli])"])

      (fs/writeFileSync version-file jar-version)
      )))

(defn run-standalone


      ;; re-create classpath by running the java helper
      (let [jar (js/require "shadow-cljs-jar/path")]
        (run-java project-root ["-jar" jar version (path/resolve project-root "shadow-cljs.edn")])))

    ;; only return :files since the rest is just cache info
    (-> (util/slurp cp-file)
