Reputation: 98
I've installed Sass and set up a folder with an index.html file and style.scss in my local server (In Ubuntu 13.04).
I type this command into the terminal:
sass --watch style.scss:style.css
And get this output:
Sass is watching for changes. Press Ctrl-C to stop. LoadError: cannot load such file -- rb-inotify Use --trace for backtrace.
Sass will update the css the first time I save my .scss file but after that nothing. Anyone know why?
Upvotes: 1
Views: 1594
Reputation: 29
Its more of code editor issue. I faced this issue with brackets and once I switched to Atom (just to test) sass started writing on css file real time. Tried with both sass --watch sass:css (Directory based watch) and sass --watch sass/app.sass:css/app.css (file based), and both worked fine.
Upvotes: 0