diff --git a/Gulpfile.js b/Gulpfile.js index feadd52..e25efd2 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -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()) @@ -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' diff --git a/package.json b/package.json index bf7919e..af3fd2a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/server.js b/server.js similarity index 99% rename from test/server.js rename to server.js index 7ac111d..136c209 100644 --- a/test/server.js +++ b/server.js @@ -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 ${