Closed metacritical closed 6 years ago
If you want a particularly custom lifecycle you can use Component to coordinate things in just the right way for your project. I don't quite understand the context, but could you also just run something like this?
$ ./run-my-command.sh && lein figwheel
Thanks., can you give an example how to use :eval-fn key?
I don't think :eval-fn is what you want, that seems more for customising the eval command that the browser client is going to run, not for running arbitrary functions. I think this is more of a usage question than a feature request that might get more responses in the #lein-figwheel channel on Clojurians Slack?
I need to execute a command say
# electron .
in a separate subprocess before figwheel starts is there a possibility one could use :eval-fn key to execute say aclojure.java.shell
? or maybe other clever way in figwheel?