Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'compass watch' does not regenerate css inside vagrant

I have a simple html project inside vagrant in which I want to use Compass to handle css. But running the compass watch command inside the project folder in vagrant does not regenerate the css file on changing the sass(.scss) file.

It will however regenerate if I do a Ctrl-C and then run compass watch again.

a. I read this: https://github.com/gruntjs/grunt-contrib-compass/issues/107 and I have updated my cache-dir to '../../tmp/sass-cache'

b. I am not running a rails app, just compass to generate css.

like image 497
Raunaq Avatar asked Dec 11 '13 22:12

Raunaq


Video Answer


1 Answers

Try to run compass watch --poll.

I had the same problem in Vagrant and this worked for me.

like image 186
mikkohei13 Avatar answered Sep 21 '22 15:09

mikkohei13