08.21.2019
Change grunt default port and debug port
Sometime you need to run meanjs and grunt debug on another ports.
You can simple do as followingChange grunt default port
PORT=8999 grunt
Change debug port
Edit nodemon from gruntfile.js
nodemon: {
dev: {
script: 'server.js',
options: {
nodeArgs: ['--debug=5859'],
ext: 'js,html',
watch: watchFiles.serverViews.concat(watchFiles.serverJS)
}
}
},
Happy coding