cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Grunt

SOLVED

Error in Grunt

The Error is :

 

evaluate@evaluate-Lenovo-G50-80:/var/www/html/ecommerce$ grunt watch
Running "watch" task
Waiting...
Fatal error: Port 35729 is already in use by another process.


Execution Time (2016-09-01 14:29:09 UTC+5:30)
loading tasks 211ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 45%
loading grunt-contrib-watch 70ms ▇▇▇▇▇▇▇▇ 15%
Total 467ms

 

1 REPLY

Re: Error in Grunt

Got the Answer :

 

Dont stop a process with Ctrl+C in the terminal.

 

Ctrl+Z will keep it running.

 

Find the process id by sudo lsof -i :35729

 

Then kill the process by sudo kill -9 PID

 

Rerun the grunt watch
Smiley LOL