A Leiningen plugin that builds ClojureScript code and hot loads it into the browser as you code.
Lein-figwheel is a Leiningen plugin for ClojureScript that provides live code reloading and a REPL during development. It automatically compiles and hot loads code changes into the browser as you save files, enabling interactive programming without manual refreshes. It solves the problem of slow feedback loops in frontend development by instantly reflecting code changes.
ClojureScript developers using Leiningen who want a fast, interactive development workflow with live reloading and REPL integration. It's especially useful for those building web applications or Node.js projects with ClojureScript.
Developers choose lein-figwheel for its seamless integration with Leiningen, robust live reloading that respects dependencies, and built-in REPL that shares compilation context. It reduces manual steps and provides immediate feedback, making ClojureScript development more fluid and interactive.
Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically reloads ClojureScript, CSS, and JavaScript on save with a stable websocket connection that persists across browser sessions and OS sleeps, as highlighted in the 'Robust connection' feature.
Launches a ClojureScript REPL into the running application with live compilation awareness and special control functions like start-autobuild, providing interactive programming without manual steps.
Calculates and reloads only necessary files to maintain client environment stability, respecting dependencies and avoiding code with warnings unless configured otherwise.
Includes a non-intrusive heads-up display for compilation status and errors with click-to-open editor links, plus descriptive error reporting for both code and configuration.
The README explicitly states that lein-figwheel is an older version, with Figwheel Main being a complete rewrite and recommended alternative, indicating limited future updates and support.
Setting up editor REPLs with nREPL requires advanced configuration, including Piggieback middleware, and is described as 'advanced' in the documentation, adding setup overhead.
Developers must write code in specific patterns (e.g., using defonce, avoiding stateful top-level definitions) for live reloading to work correctly, which can be a barrier and error-prone.
It only works with Leiningen, not other Clojure build tools like Boot or the Clojure CLI, limiting flexibility for teams using diverse toolchains.