Tensegritics / ClojureDart

Clojure dialect for Flutter and Dart
1.44k stars 92 forks source link

Wait to run flutter until after cljd successfully compiles. #187

Closed devcarbon-com closed 1 year ago

devcarbon-com commented 1 year ago

Describe the bug On the initial run it launches flutter even if the cljd code fails to compile, then flutter starts -> fails -> and then you have to start all over.

Does your problem persist after clj -M:cljd clean && flutter clean? Yes.

To Reproduce Steps to reproduce the behavior:

  1. Start with any cljd project
  2. Tweak a file so it will not compile. (IE. add an open paren without a matching closing paren.)
  3. Run clj -M:cljd flutter

Expected behavior Runner waits to launch flutter until it compiles.

Additional context See: https://clojurians.slack.com/archives/C03A6GE8D32/p1675813363275689

cgrand commented 1 year ago

e3bc87561cb0eee6175715442734fad55d257271 29147fa94c5e37dd8c5d98c05429c958753c9b6b