Running Grunt on the server not locally

Hello!

Is there any option/way of having Grunt run on the server and not locally, for example: I would like to only push .less file to the server and have grunt compile them into css file.

Sorry if I’m not making myself clear.

Sure, follow the same steps to install Grunt locally on your server and it’ll work.

yes, but as soon I logout of the server Grunt stop watching. I would like it to watch the file forever after i logout of the server. Is that possible? I can’t find anything online.

You could use something like screen or tmux to keep it watching after you logout