ClojureScript development environment with Vim
astashov.github.io
astashov.github.io
I just recently got my head around using ClojureScript with vim-fireplace and Austin. It took a bit of work, but I finally got to a point where I easily have a browser REPL running using an environment stored in a var. This helps avoid security error, but it's not as simple a setup.
I suppose one big difference is the HTML I am using is being served via a Ring-based server rather than using a separate serving process. This allows me to add middleware in development mode that will inject the necessary JavaScript to connect to the browser REPL.
Most of my dev time is spent with JavaScript lately, I'm really curious what live reloading is like.
I hear the maintainers of Cljs are going work on it but its not a priority.
However, you can still get to a very usable state with a minimal setup. Once you get lein-cljsbuild set up, just running 'lein cljsbuild auto' and reloading the page after changes works fairly well. No, it doesn't have the polish or Vim integration of this full configuration, but it's usable.