Closed javahippie closed 3 years ago
Hi, I made a recent change to stop using the plugin and use shadow-cljs directly via shadow-cljs.edn. At this point there isn't really much of an advantage to run shadow via lein, and the maintainer discourages this approach. The tasks should work the same, and the only change is to run shadow-cljs watch app
instead of lein shadow watch app
. Note, that you do have to run npm install
manually to install npm modules.
Thanks for the quick response, that makes sense and worked for me.
I suggested PR #533 to adapt the wording on the info page about the cljs process,
I just tried to create a new app from the lein template with the
+shadow-cljs
flag, but the lein-shadow plugin is not included in the configuration:lein new luminus timebooking +shadow-cljs
When I start the application with
lein run
I see a page claiming shadow-cljs was not started yet, telling me to runlein shadow watch app
, but lein complains that "... 'shadow' is not a task". Did I miss something in the configuration or is this a bug in the template?If there is anything I can do to provide more information, I'd gladly do so.