The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Cleaning your build folder with grunt-contrib-clean

Cleaning your build folder with grunt-contrib-clean

2:05
Grunt will clean up your build with the grunt-contrib-clean to make sure that no artifacts from previous builds are hanging around.
Watch this lesson now
Avatar
egghead.io

Grunt will clean up your build with the grunt-contrib-clean to make sure that no artifacts from previous builds are hanging around.

Avatar
askar

Hello!

How do you enable port number 3000 in this video?
Another videos are using port 8080...

Having the lesson is OK, but it'd be helpful if you show also how do you start webserver with a port.

Thanks.

In reply to egghead.io
Avatar
Austin

I noticed that you used concat before using uglify. Uglify has the ability to concatenate files, so concatenating before uglifying is not necessary.

See this from the grunt-contrib-uglify documentation:
https://www.npmjs.com/package/grunt-contrib-uglify#basic-compression

Notice that more than one source file is being directed to a destination file in their first example; all of these get concatenated before being uglified.

Avatar

you have to run a server and configure it to listen for that port.

In reply to askar
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?