         (reader/read-string)
         (assoc :updated? updated?))))
 
-(defn remove-class-files [path]
-  (when (fs/existsSync path)
-    ;; shadow-cljs - error ENOENT: no such file or directory, unlink '...'
-    ;; I have no idea how readdir can find a file but then not find it when
-    ;; trying to delete it?
-    (doseq [file (into [] (fs/readdirSync path))
-            :let [file (path/resolve path file)]]
-      (cond
-        (str/ends-with? file ".class")
-        (when (fs/existsSync file)
-          (try
-            (fs/unlinkSync file)
-            (catch :default e
-              (prn [:failed-to-delete file]))))
-
-        (is-directory? file)
-        (remove-class-files file)
-
-        :else
-        nil
-        ))))
-
 (defn print-error [ex]
   (let [{:keys [tag] :as data}
         (ex-data ex)]

        (= action :init)
        (run-init opts)

        (= action :aot)
        (try
          (aot-compile)
          (catch :default e
            (println "shadow-cljs - aot compilation failed")))

        :else
        (let [config-path (ensure-config)]
          (if-not config-path

        )))

(defn run-standalone [project-root config args opts]
  (let [cli-args
        (-> (get-jvm-opts project-root config)
            (conj "clojure.main" "-m" "shadow.cljs.devtools.cli" "--npm")
