Last active
August 29, 2017 11:27
-
-
Save dracos/a4b4796db95b62de2e4e0b7d6066c30f to your computer and use it in GitHub Desktop.
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
§ mkvirtualenv philtest | |
New python executable in /Users/matthew/.virtualenvs/philtest/bin/python | |
Installing setuptools, pip, wheel...done. | |
virtualenvwrapper.user_scripts creating /Users/matthew/.virtualenvs/philtest/bin/predeactivate | |
virtualenvwrapper.user_scripts creating /Users/matthew/.virtualenvs/philtest/bin/postdeactivate | |
virtualenvwrapper.user_scripts creating /Users/matthew/.virtualenvs/philtest/bin/preactivate | |
virtualenvwrapper.user_scripts creating /Users/matthew/.virtualenvs/philtest/bin/postactivate | |
virtualenvwrapper.user_scripts creating /Users/matthew/.virtualenvs/philtest/bin/get_env_details | |
(philtest) § pip install watchdog libsass | |
Collecting watchdog | |
Collecting libsass | |
Downloading libsass-0.13.2.tar.gz (299kB) | |
100% |████████████████████████████████| 307kB 744kB/s | |
Collecting PyYAML>=3.10 (from watchdog) | |
Collecting pathtools>=0.1.1 (from watchdog) | |
Collecting argh>=0.24.1 (from watchdog) | |
Using cached argh-0.26.2-py2.py3-none-any.whl | |
Collecting six (from libsass) | |
Using cached six-1.10.0-py2.py3-none-any.whl | |
Building wheels for collected packages: libsass | |
Running setup.py bdist_wheel for libsass ... done | |
Stored in directory: /Users/matthew/Library/Caches/pip/wheels/8c/d2/d7/25dbf7af5c5342db904e6fcc68e6a191b44d22ed64a010f743 | |
Successfully built libsass | |
Installing collected packages: PyYAML, pathtools, argh, watchdog, six, libsass | |
Successfully installed PyYAML-3.12 argh-0.26.2 libsass-0.13.2 pathtools-0.1.2 six-1.10.0 watchdog-0.8.3 | |
(philtest) § mkdir assets | |
(philtest) § cat > assets/foo.scss | |
h1 { | |
color: #f00; | |
&.foo { | |
color: #00f; | |
} | |
} | |
(philtest) § watchmedo shell-command --patterns="*.scss" --recursive --command="sassc --style compressed assets/foo.scss assets/foo.css" assets | |
Then touched assets/foo.scss in another tab and foo.css was created. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment