Skip to content

Instantly share code, notes, and snippets.

@Martin91
Created June 10, 2014 16:24
Show Gist options
  • Save Martin91/58099f8ac23e9a26913d to your computer and use it in GitHub Desktop.
Save Martin91/58099f8ac23e9a26913d to your computer and use it in GitHub Desktop.
Auto watch changes of scss files which under same directory and generate css files under another directory
#!/bin/bash
# suppose there are two directories named scss and css
sass -t compressed --watch scss:css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment