Created
October 14, 2020 08:56
-
-
Save medienbaecker/0df26497551e02d89c53e85ef8e4b76b to your computer and use it in GitHub Desktop.
Nova SCSS task for Kirby projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically get folder name to get Valet URL | |
domain=$(basename "$PWD"); | |
# Watch style.scss and compile it | |
node-sass -w assets/scss/style.scss assets/css/style.css | | |
# Browsersync on Valet URL | |
browser-sync start --proxy "$domain.test" --host "$domain.test" --open 'external' --files 'assets/css/*.css' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment