Created
February 15, 2017 12:15
-
-
Save derekbtw/d325e78af82a73d9794248ad944c9283 to your computer and use it in GitHub Desktop.
Place this batch file in any directory and run it to: create a new project, start a browser-sync server, create and listen to a scss file
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
cd projects | |
@echo off | |
COLOR 0A | |
set /p dname= New project name: | |
git clone https://github.com/BlackrockDigital/startbootstrap-bare.git %dname% | |
cd %dname% | |
mkdir scss | |
cd scss | |
echo //main > main.scss | |
cd ..\css | |
echo /*main*/ > main.css | |
cd ../ | |
start cmd /k browser-sync start --server --files "css/*.css" "*.html" "js/*.js" "*.php" | |
start cmd /k sass --watch scss/main.scss:css/main.css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment