Check out a free preview of the full Front-End Tooling and Workflows with Grunt and Beyond course:
The "Splitting Concerns & Using Copy" Lesson is part of the full, Front-End Tooling and Workflows with Grunt and Beyond course featured in this preview video. Here's what you'd learn in this lesson:
As the Gruntfile grows, there can be confusion between the list of files and the tasks associated with them. By separating the files and the tasks, the configuration of those tasks becomes cleaner. Dave also uses the copy task to copy our index.html file into the generated folder along with the other build files.