V
V
vgbege2016-06-09 20:53:23
Grunt.js
vgbege, 2016-06-09 20:53:23

Sails js - how to properly throw out grunt watch in staging environment?

So, in a typical sailsjs project, there are tasks/register/prog.js for the production environment and tasks/register/default.js for everyone else. I also have a staging environment, which should be like production, just hangs on a different port and deploys from another branch.
The problem is that default.js is used there, so the grunt watch task hangs and eats the processor. What needs to be done so that my staging is like production, and not like development?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question