The Vim-Livereload plugin tells your browser to reload the page you watch over with Livereload on every save. Simply click the Livereload button in your browser to listen to events and the next time you save your file it will be reloaded and CSS will be merged automatically. Setup is really simple (if you use Janus, never tried it with anything else)
- Clone into ~/.janus folder
- cd into vim-livereload and run rake Rake initialises the submodules and pulls the latest changes. The plugin needs Vim with Ruby support. It uses eventmachine to open a Socket and receive requests from the
Livereload Chrome Browser plugin. I only tested it with Chrome and the latest version in the chrome store.
Give Livereload and the Vim plugin a try. It is incredibly easy and makes you much more productive immediately. As developers we should always thrive to be more efficient in our day to day work. Cutting those small little actions you do thousands of times per day makes your development lean and productive. If you have any tips on improving your workflow step by step simply add a comment down below. I really want to know your little tricks to be a better and faster developer.
Head over to Codeship and start shipping your apps faster than ever before.