Try using only setTimeout instead of setInterval
Grunt build prev