Skip to content

Commit

Permalink
Merge pull request #2265 from okTurtles/enable-debug-builds
Browse files Browse the repository at this point in the history
enable debug grunt deploy/serve
  • Loading branch information
taoeffect authored Jul 27, 2024
2 parents a8aaafa + bd98aef commit 25638f0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,15 +559,13 @@ module.exports = (grunt) => {

grunt.registerTask('deploy', function () {
if (!production) {
grunt.log.error(chalk.red('Please run with NODE_ENV=production'))
process.exit(1)
grunt.log.warn(chalk.bold.yellow('⚠️ You should probably run with NODE_ENV=production'))
}
grunt.task.run(['checkDependencies', 'build', 'copyAndMoveContracts'])
})
grunt.registerTask('serve', function () {
if (!production) {
grunt.log.error(chalk.red('Please run with NODE_ENV=production'))
process.exit(1)
grunt.log.warn(chalk.bold.yellow('⚠️ You should probably run with NODE_ENV=production'))
}
grunt.task.run(['chelDeploy', 'backend:launch', 'keepalive'])
})
Expand Down

0 comments on commit 25638f0

Please sign in to comment.