Fork me on GitHub
Old account14:10:27

Hello! how to know what will lein run actually run? is it based on plugins used. How to see what will it do exactly?


lein run will simply look for ns value of :main, then run -main fn in that namespace

✔️ 3

@stebokas it will run your "main" if specified, or "init-ns"

✔️ 3

also, IMHO ideally you structure your project so you can run your main (maybe in a thread) from a repl, and not need the run task