Fork me on GitHub
#shadow-cljs
<
2017-11-14
>
thheller06:11:37

@mhuebert yes it doesn’t to any reloading. when developing you can run it via the REPL and use load-file or (require 'the.ns :reload). maybe I should add some reloading though? not sure about that.

mhuebert11:11:46

@thheller I think I would expect a cli command to load the most current version, it wasn’t in my mental model that there was a server somewhere else holding on to whatever version existed the first time i ran the command

thheller14:11:56

unfortunately its not that simple

thheller14:11:17

its fine when I do a simple :reload to only reload the main ns

thheller14:11:28

but what if you include something else that you changed?

thheller14:11:55

can’t :reload-all since that may destroy some parts of the shadow-cljs process

bolasblack16:11:40

Hi thheller, how can :target :npm-module generate source map ? I tried :compiler-options {:source-map true}}, it works in :target :browser, but failed in :npm-module. Example: https://github.com/bolasblack/airtable-notifier-temp newest commit

thheller16:11:38

don’t remember why I disabled source maps for :npm-module

thheller16:11:44

but I can enable it again, hang on.

thheller16:11:15

nevermind .. actually just a bug. fixed in [email protected]