I wish I could find a replacement for the deprecated Ruby Sass binary that supports a --watch flag. I'll gladly take any recs, I need to rebuild a Docker container that can rebuild sass when the source file changes. (I don't have a handy solution to this, besides inotifywait in a loop.)

I ended up looking at Alpine-supported solutions first, since I'm already using Alpine in other Dockerfiles. I've got a passable implementation for dev and prod that uses inotifyd, which is part of the default Alpine 3.9 build.


There are some executables that basically extract the inotifywait loop, like or, do those help?

I’m very happy with both but may have misunderstood what you’re doing. Also docker might complicate things, a colleague told me about problems getting inotify notifications handled by docker containers with linux as a host a while ago.
(Being mostly docker-free I haven’t run into anything similar myself.)
@annika sassc has this
it's also much faster & lighter-weight than the ruby version of sass; i use it for my site
Sign in to participate in the conversation

A place for the XOXO Festival community. Share your dreams, your struggles, your cat photos, or whatever else strikes your fancy, and see what everyone else is sharing.

This space is just for XOXO members. Never heard of Mastodon? Head over to to learn more and start posting.