Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJoel Pendleton
19,230 PointsWhy is 'clean' an important process?
Why is 'clean' an important process?
3 Answers
Cena Mayo
55,236 PointsHi Joel,
Clean runs on the dist/
directory and makes sure that nothing created in a previous build and later removed in app/
is still in there. It just helps keep your build fresh and lacking in residual artifacts from previous builds.
Best, Cena
Michael Johnson
6,340 Pointsyea im trying to figure out why we used build to make a dist folder and then deleted it... im sure if i keep watching ill get it but im puzzled at the moment
Routine Poutine
26,050 PointsIs it because you want to compile over and over again until time to deploy? Is there an easier way than 'clean', such as overriding the currently compiled file instead of deleting and then compiling?