Nohup & Sass: Process keeps running but, after a while, *.scss files do not get compiled

Posted by maurits on Super User See other posts from Super User or by maurits
Published on 2012-10-26T09:19:16Z Indexed on 2012/10/26 11:04 UTC
Read the original article Hit count: 244

Filed under:
|
|

I am using Sass on a CentOS 5.8 server and want it to keep running after SSH logout, so that other users can edit *.scss files for days or even weeks to come without any need to start the program each time they login (in fact, they don't even have SSH access).

I have used the following command from this question/answer:

$ nohup sass --watch path/to/scss/files:path/to/css/output/files &

Then, I log out of the SSH session and the process keeps running. It all works fine (logging in again and using touch to create a test file (test.scss) correctly triggers the creation of the corresponding test.css file) for the first few minutes, but after a while the *.scss files stop getting compiled... However,

ps aux | grep 'sass'

Shows that the process is still running.

Anybody knows what am I doing wrong?

© Super User or respective owner

Related posts about terminal

Related posts about process