Add grunt tast for e2e using processhtml

Posted: August 8, 2014 in web

File: Gruntfile.js


...
grunt.initConfig({
processhtml: {
e2e: {
files: {
'/index_e2e.html': ['/index.html']
}
}
},

...
grunt.registerTask('e2e', [
'clean:server',
// Simply add the task:
'processhtml:e2e',
'concurrent:server',
'autoprefixer',
'connect:livereload',
'watch'
]);
...

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s