diff --git a/templates/app/_package.json b/templates/app/_package.json index 7cb086235..cfc15ab7b 100644 --- a/templates/app/_package.json +++ b/templates/app/_package.json @@ -92,7 +92,6 @@ "gulp-istanbul-enforcer": "^1.0.3", "gulp-load-plugins": "^1.0.0-rc.1", "gulp-mocha": "^2.1.3", - "gulp-node-inspector": "^0.1.0", "gulp-plumber": "^1.0.1", "gulp-protractor": "^3.0.0", "gulp-rev": "^7.0.0", diff --git a/templates/app/gulpfile.babel.js b/templates/app/gulpfile.babel.js index 4e6db6421..357ef8d35 100644 --- a/templates/app/gulpfile.babel.js +++ b/templates/app/gulpfile.babel.js @@ -331,17 +331,11 @@ gulp.task('start:server:prod', () => { .on('log', onServerLog); }); -gulp.task('start:inspector', () => { - gulp.src([]) - .pipe(plugins.nodeInspector({ - debugPort: <%= debugPort %> - })); -}); - gulp.task('start:server:debug', () => { process.env.NODE_ENV = process.env.NODE_ENV || 'development'; config = require(`./${serverPath}/config/environment`); - nodemon(`-w ${serverPath} --debug=<%= debugPort %> --debug-brk ${serverPath}`) + // nodemon(`-w ${serverPath} --debug=<%= debugPort %> --debug-brk ${serverPath}`) + nodemon(`-w ${serverPath} --inspect --debug-brk ${serverPath}`) .on('log', onServerLog); }); @@ -385,7 +379,6 @@ gulp.task('serve:debug', cb => { 'typings'<% } %> ], 'webpack:dev', - 'start:inspector', ['start:server:debug', 'start:client'], 'watch', cb