Unlike with Grunt, you don’t need to specify all used files in details - brunch will auto-detect them in most cases and automatically concat in correct orderīrunch automatically generates source maps for all your files so debugging becomes very simple even when all files are concatenated and minified.īrunch is free, both as in beer and as in speech and works everywhere. Unlike Grunt, Brunch recompiles only changed parts of your app and extensively uses caching for others.Īll you need to do with Brunch is run one command and everything will be managed for you, without need to write sophisticated 300LOC build configs.īrunch supports headless integration with Bower package manager. Usual brunch compilation takes less time than you need to alt-tab to browser window. There’s a lot of great skeleton projects you can use already. Brunch may also do the job of r.js optimizer automatically.īrunch can generate your project from predefined template. You can even keep frontend and backend as separate projects.Īll script and template files may be wrapped in modules (CommonJS or AMD) to prohibit global public access and encapsulate code. You can use any backend you like, be it node.js, Rails or Lift. No more need in complicated Makefiles and watchers.īrunch reloads your browser window every time you change stuff (with autoreload plugin)īrunch just doesn’t care about stuff you’re using for structure. It just doesn’t care about languages or frameworks you use.īrunch recompiles and concats all your stuff automatically on any change, headlessly. Featureīrunch can compile your JS, CoffeeScript, Stylus, Sass (+ Compass), LESS, Mustache, Handlebars, Jade, Eco (and much more) files, concatenate output to and minify it. Grunt task manager is in some ways more flexible than Brunch, but its flexibility and explicitness can quickly become complexity. LiveReload and CodeKit partly resemble Brunch compilation pipeline, file watching and auto reloading, but they don’t support advanced features like modules, Bower support or source maps generation Brunch is similar to Grunt, LiveReload and CodeKit.
0 Comments
Leave a Reply. |