How to run Grunt command in background for the MEAN stack
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 :)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.