Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
fix(node-inspector): deprecating node-inspector infavor of native nod…
Browse files Browse the repository at this point in the history
…ejs debug (#1744)
  • Loading branch information
lirantal authored Apr 7, 2017
1 parent d7b6d95 commit 994369d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 2 additions & 7 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ gulp.task('env:prod', function () {
gulp.task('nodemon', function () {
return plugins.nodemon({
script: 'server.js',
nodeArgs: ['--debug'],
nodeArgs: ['--inspect'],
ext: 'js,html',
verbose: true,
watch: _.union(defaultAssets.server.views, defaultAssets.server.allJS, defaultAssets.server.config)
Expand Down Expand Up @@ -433,16 +433,11 @@ gulp.task('test:coverage', function (done) {
runSequence('env:test', ['copyLocalEnvConfig', 'makeUploadsDir', 'dropdb'], 'lint', 'mocha:coverage', 'karma:coverage', done);
});

// Run the project in development mode
// Run the project in development mode with node debugger enabled
gulp.task('default', function (done) {
runSequence('env:dev', ['copyLocalEnvConfig', 'makeUploadsDir'], 'lint', ['nodemon', 'watch'], done);
});

// Run the project in debug mode
gulp.task('debug', function (done) {
runSequence('env:dev', ['copyLocalEnvConfig', 'makeUploadsDir'], 'lint', ['nodemon-nodebug', 'watch'], done);
});

// Run the project in production mode
gulp.task('prod', function (done) {
runSequence(['copyLocalEnvConfig', 'makeUploadsDir', 'templatecache'], 'build', 'env:prod', 'lint', ['nodemon-nodebug', 'watch'], done);
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/meanjs/mean.git"
},
"engines": {
"node": ">=4.6.0",
"node": ">=6.3.0",
"npm": ">=3.10.8"
},
"scripts": {
Expand Down Expand Up @@ -112,7 +112,6 @@
"karma-phantomjs-launcher": "~1.0.0",
"lcov-result-merger": "~1.2.0",
"mock-fs": "~3.11.0",
"node-inspector": "~0.12.8",
"run-sequence": "~1.2.2",
"semver": "~5.3.0",
"should": "~11.1.0",
Expand Down

0 comments on commit 994369d

Please sign in to comment.