Skip to content

Commit

Permalink
Lint gulp tasks using StandardJS
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmaleigh committed Oct 17, 2016
1 parent 9490e75 commit 237a3b0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions gulp/nodemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ var nodemon = require('gulp-nodemon')
var config = require('./config.json')

gulp.task('server', function () {
nodemon({ignore: [config.paths.public + '*', config.paths.nodeModules + '*'],
script: 'server.js',
ext: 'js, json',
env: {NODE_ENV: 'development'}})
nodemon({
script: 'server.js',
ext: 'js, json',
ignore: [config.paths.public + '*', config.paths.nodeModules + '*'],
env: {NODE_ENV: 'development'}
})
})
8 changes: 4 additions & 4 deletions gulp/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ gulp.task('generate-assets', function (done) {
})

gulp.task('copy-govuk-modules', [
'copy-toolkit',
'copy-template-assets',
'copy-elements-sass',
'copy-template'
'copy-toolkit',
'copy-template-assets',
'copy-elements-sass',
'copy-template'
])

gulp.task('watch', function (done) {
Expand Down

0 comments on commit 237a3b0

Please sign in to comment.