#!/bin/bash

# --style NAME
#	Output style. Can be nested (default), compact, compressed, or expanded.
#
# --watch: Watch files or directories for changes.
#	The location of the generated CSS can be set using a colon:
#	sass --watch input.sass:output.css
#	sass --watch input-dir:output-dir
#
# --sourcemap=TYPE
#	How to link generated output to the source files.
#	auto (default): relative paths where possible, file URIs elsewhere
#	file: always absolute file URIs
#	inline: include the source text in the sourcemap
#	none: no sourcemaps
#
# --debug-info
#	Emit output that can be used by the FireSass Firebug plugin.
#
# --no-cache
#	 Don't cache parsed Sass files.

#WORKINGDIR=`pwd`
WORKINGDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIRNAME=${WORKINGDIR##*/}
echo $DIRNAME
cd $WORKINGDIR
sass --watch ./scss:../assets/css/ --style compressed --sourcemap=none