grunt-express-server icon indicating copy to clipboard operation
grunt-express-server copied to clipboard

If the finish task is called with exit code 143 witch coresponds to SIGT...

Open nistormihai opened this issue 11 years ago • 3 comments

I've tried to work with grunt-express-server here: https://github.com/nistormihai/grunt-express-server-test on ubuntu precise 64 with livereload for node rendering but it seemed that the livereload was reloading the browser before the express server started. I found out that somehow the finish process was triggered by grunt.util.spawn with the exiting task, and with the exit code 143 see here: http://stackoverflow.com/questions/4192364/always-app-java-end-with-exit-143-ubuntu

So my fix was just to exit if code 143 was received. Maybe is not the best approach but I didn't had more time to investigate this thoroughly.

nistormihai avatar Feb 18 '14 20:02 nistormihai

@paulpflug What do you think? Good to merge this down?

ericclemmons avatar Aug 14 '14 16:08 ericclemmons

@ericclemmons I think this problem should be fixed with version 4.1.19 already @nistormihai could you please test again with the new version and without your workaround? I installed your project and it works for me (but I'm not on ubuntu)

paulpflug avatar Aug 14 '14 21:08 paulpflug

Still not sure if this is a good idea. A decision better left to @paulpflug and @ericclemmons.

drawveloper avatar Nov 20 '14 13:11 drawveloper