File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -386,14 +386,17 @@ present"
386386 (:uri (build/ns->location main-ns)))
387387 repl? (boolean (#{" -r" " --repl" } (first args)))
388388 cenv (env/default-compiler-env )]
389- (if-let [path (:watch opts)]
390- (if repl?
391- (.start (Thread. #(watch-proc cenv path opts)))
392- (build/watch path opts cenv))
393- (build/build source opts cenv))
394- (when repl?
395- (repl-opt repl-env args
396- (assoc-in cfg [:options :compiler-env ] cenv)))))
389+ (binding [ana/*verbose* (:verbose opts)]
390+ (when ana/*verbose*
391+ (util/debug-prn " Compiler options:" (pr-str opts)))
392+ (if-let [path (:watch opts)]
393+ (if repl?
394+ (.start (Thread. #(watch-proc cenv path opts)))
395+ (build/watch path opts cenv))
396+ (build/build source opts cenv))
397+ (when repl?
398+ (repl-opt repl-env args
399+ (assoc-in cfg [:options :compiler-env ] cenv))))))
397400
398401(defn- compile-opt
399402 [repl-env [_ ns & args] cfg]
You can’t perform that action at this time.
0 commit comments