“gulp watch –production”

I want to be able to run the gulp watch but have it build a production version instead of a development version.

I know you can do this:
“gulp –production”

But can you do this:
“gulp watch –production”

Yes, this proves it works. (pasted from my Sublime map view).

Watch with no params:

unnamed (3)

Watch with production param:

unnamed (4)

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *