robin

Web, Science, Politique

  • substack/watchify
    https://github.com/substack/watchify

    Update any source file and your browserify bundle will be recompiled on the spot.

    I hadn’t realised that watchify cached browserify’s work. I thought it was just a watcher, and since I use nodemon elsewhere, I just stuck to nodemon.

    I was wondering if there were a caching plugin for browserify... and it was just there. Just to give an example, on a relatively small project:

    – browserify building everything on any change: 4.98s
    – watchify caching: 0.20s

    Yeah, that’s a win.