In Chrome source maps are processed lazily (you'll also want to disable caching). Sometimes all you need is an additional browser refresh to see source mapping information.
David On Wed, Apr 15, 2015 at 10:36 AM, Jamie Orchard-Hays <[email protected]> wrote: > Thanks, David. Source maps are definitely enabled. I went to Safari > (hadn't realized it had gotten source maps). Can see the CLJS files and > when I triggered an error in the cljs, got a cljs file listed in the stack. > In Chrome, it's all JS. > > Looks like I'm going back to Safari for development. :) > > Jamie > > On Apr 15, 2015, at 10:09 AM, David Nolen <[email protected]> wrote: > > Did you actually enable source maps in Chrome? Did you confirm that you > don't see source mapping information in Safari or Firefox? Does the source > mapping url (last line) for each generated JS source file match your > expectations? > > HTH, > David > > On Wed, Apr 15, 2015 at 9:56 AM, Jamie Orchard-Hays <[email protected]> > wrote: > >> I've got a CLJS project that in dev mode compiles to a legacy rails app. >> Everything works great except source maps. The maps are in their respective >> folders. In Chrome dev panel under "Network" I can see that the .map files >> are retrieved. However, source maps are never shown when there is an error. >> Only the JS is shown. >> >> Any ideas for me? I'm stumped. >> >> Cheers, >> >> Jamie >> >> -- >> Note that posts from new members are moderated - please be patient with >> your first post. >> --- >> You received this message because you are subscribed to the Google Groups >> "ClojureScript" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/clojurescript. >> > > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
