Re:Grunt.js: Tips and Tricks
by akbar501 on Tuesday January 21, 2014 @02:54PM
(#7097837)
It's important to note that Grunt can be used in 2 (more?) ways:
1.) As a build tool
2.) As a continuous build tool (with watch and live reload)
React's Gruntfile is well organized and is a great option for #1.
However, use of this approach for #2 will cause a slower development process. Obviously, part of the performance hit could be offset by conditionally including only the files required for each task. However, reading files from disk will result in a slower reload.
1.) As a build tool
2.) As a continuous build tool (with watch and live reload)
React's Gruntfile is well organized and is a great option for #1.
However, use of this approach for #2 will cause a slower development process. Obviously, part of the performance hit could be offset by conditionally including only the files required for each task. However, reading files from disk will result in a slower reload.