Skip to content

Commit

Permalink
Update nodemon. Remove (erroneously named) "test" folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackson Gariety committed May 30, 2018
1 parent 628b239 commit 1a31fa2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
8 changes: 1 addition & 7 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ var gulp = require('gulp')
, nodemon = require('./index')
// , path = require('path')

// gulp.task('test', function () {
// gulp.src('./test/*-test.js')
// .pipe(jshint({ asi: true, laxcomma: true }))
// .pipe(mocha({ ui: 'bdd' }))
// })

gulp.task('lint', function (){
return gulp.src('./*/**.js')
.pipe(jshint())
Expand All @@ -26,7 +20,7 @@ gulp.task('afterstart', function (done){
gulp.task('test', gulp.series('lint', function (done){
var stream = nodemon({
nodemon: require('nodemon')
, script: './test/server.js'
, script: './server.js'
, verbose: true
, env: {
'NODE_ENV': 'development'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"colors": "^1.2.1",
"event-stream": "^3.3.4",
"gulp": "^4.0.0",
"nodemon": "^1.17.3"
"nodemon": "^1.17.5"
},
"devDependencies": {
"should": "^4.0.0",
Expand Down
1 change: 1 addition & 0 deletions test/server.js → server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const http = require('http')
const port = 8000
const hostname = '0.0.0.0'


http.createServer((req, res) => res.end(`
Hello World, from the future!
It's ${
Expand Down

0 comments on commit 1a31fa2

Please sign in to comment.