Skip to content

Commit

Permalink
#22 README readd gulp task production for historical reason
Browse files Browse the repository at this point in the history
  • Loading branch information
ernscht committed Jan 16, 2016
1 parent efcba67 commit bf501e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/templates/gulp/production.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
Simple solution
if you need more control, start the server with forever or similar techniques
https://github.com/namics/generator-nitro/blob/master/app/templates/project/docs/nitro.md#starting-the-app
https://www.npmjs.com/package/forever
*/
module.exports = function (gulp, plugins) {
return function () {
gulp.start('serve');
};
};
1 change: 1 addition & 0 deletions app/templates/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ gulp.task('watch-serve', ['serve'], getTask('watch-serve'));
gulp.task('test', ['compile-css', 'compile-js'], getTask('test'));
gulp.task('develop', ['watch-assets', 'watch-serve']);
gulp.task('build', ['clean-assets'], getTask('build'));
gulp.task('production', ['assets'], getTask('production'));

0 comments on commit bf501e3

Please sign in to comment.