You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have setup devcards and I can access localhost:9500/cards.html and everything renders.
how ever I am not getting the live reloading, when i edit the stat card changing the number the figwheel logo shows in the corner and shows it detected a reload, how ever the card does not update with out a browser refresh.
not sure what I have done wrong any points on how to figure out where things are going wrong or pointers on how to diagnose this ?
hopefully this will help some one else, I think this was the cause. ^{:extra-main-files {:devcards {:main cards.core}}
I changed it to ^{:extra-main-files {:dev {:main cards.core}}
the key must have to match youur current build, in my case I was building dev and extra-main-files key was set to devcards, updating to match the build seemed to fix auto reloading.
So I have setup devcards and I can access localhost:9500/cards.html and everything renders.
how ever I am not getting the live reloading, when i edit the stat card changing the number the figwheel logo shows in the corner and shows it detected a reload, how ever the card does not update with out a browser refresh.
not sure what I have done wrong any points on how to figure out where things are going wrong or pointers on how to diagnose this ?
project.clj
figwheel-main.edn
dev.cljs.edn
I have this included in the html file.
<script src="/cljs-out/dev-main-devcards.js" type="text/javascript"></script>and this is the code in my cards namespace.
The text was updated successfully, but these errors were encountered: