File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -386,14 +386,17 @@ present"
386
386
(:uri (build/ns->location main-ns)))
387
387
repl? (boolean (#{" -r" " --repl" } (first args)))
388
388
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))))))
397
400
398
401
(defn- compile-opt
399
402
[repl-env [_ ns & args] cfg]
You can’t perform that action at this time.
0 commit comments