figwheel-main 2021-04-15

Hello, I am using Postmortem to debug a large project but manually typing and deleting require calls is annoying. Is there a way to automatically import it in all project namespaces?

what build tool are you using?

In my leiningen user profile, I use the :injections keyword to require the scope-capture library in every namespace.

{:user {:dependencies [vvvvalvalval/scope-capture "0.3.2"]
        :injections [(require 'sc.api)]}}

In figwheel, you might also be able to use :preloads to accomplish something similar.