Uploaded image for project: 'ClojureScript'
  1. CLJS-2339

Significant code reload slowdown with :npm-deps

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects versions: 1.9.908
    • Fix versions: 1.10.238
    • Labels:
    • Approval:
      Accepted
    • Patch:
      Code

      Description

      After migrating our dependencies from cljsjs to node_modules we noticed that figwheel took a lot longer to reload our code.

      I asked in #clojurescript if anyone had an idea of what could be done and @anmonteiro wrote:
      @petterik might just be because we're processing all your node dependencies through Closure on every reload feel free to open a JIRA ticket, we could probably employ a caching strategy somewhere

      Versions used:
      clojurescript "1.9.908"
      lein-figwheel "0.5.13"

      npm-depm deps:
      :react-helmet "5.1.3"
      :react "15.6.1"
      :react-dom "15.6.1"
      as well as some devDependencies in package.json.

        Attachments

          Activity

            People

            • Assignee:
              dnolen David Nolen
              Reporter:
              petterik Petter Eriksson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: