Report this

What is the reason for this report?

How to run Grunt command in background for the MEAN stack

Posted on September 15, 2015

I have the MEAN stack Ubuntu setup. I have nginx set up and redirecting the port 80 request to localhost port 3000. When I run the grunt command in the /opt/mean/ folder it works fine, the website loads etc.

The question is, how do I leave this to run as a background process? As at the moment once I close my terminal window the grunt task is ended.

Any help is much appreciated :)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.