 		# wire bower dependencies
 		wiredep:
 			tasks: 
+				directory: "bower_components"
 				src: [
 					"views<%= path.sep %>layout.jade"
 				]
-
+				cwd: './'
+				exclude: [
+					"bin/materialize.css"
+				]
+				ignorePath: /^(\.\.\/)/
+
+
+		# compile sass to css
+		sass:
+			dev:
+				options:  
+					compress: false 
+				files: [
+					"public<%= path.sep %>css<%= path.sep %>app.css" : "src<%= path.sep %>sass<%= path.sep %>materialize.scss",
+				]
+
+
+		# watches files and runs tasks when the files change
+		watch:
+			options:
+				livereload: true
+
+			sassfiles:
+				files: [
+					"src<%= path.sep %>sass<%= path.sep %>**<%= path.sep %>*.scss"
+				]
+				tasks: ['sass:dev']
+				options:
+					spawn: false
+
+			# images:
+			# 	files: ['src<%= path.sep %>images<%= path.sep %>**<%= path.sep %>*.*']
+			# 	tasks: ['clean:images', 'copy:images']
+			# 	#tasks: if config.env == 'dev' then ["clean:images", "copy:images"]
+			# 	options:
+			# 		spawn: false
+
+			# jadefiles:
+			# 	files: ["views<%= path.sep %>**<%= path.sep %>*.jade"]
+			# 	options:
+			# 		spawn: false
+
+			# jsfiles:
+			# 	files: [
+			# 		"routes<%= path.sep %>**<%= path.sep %>*.js",
+   #                  "config.js",
+   #                  "app-config.js"					
+			# 	]
+			# 	options:
+			# 		spawn: false
+
+			# jsassets:
+			# 	files: [
+			# 		"src<%= path.sep %>js<%= path.sep %>*.js", 
+			# 		"lib<%= path.sep %>**<%= path.sep %>*.js",
+			# 	]
+			# 	tasks: ['uglify:dev']
+			# 	options:
+			# 		spawn: false
+
+			# gruntfile:
+			# 	files: ["gruntfile.js"]
+			# 	tasks: ["jshint:gruntfile"]
+			# 	options:
+			# 		spawn: false
+
+			# mastercss:
+			# 	files: ["src<%= path.sep %>css<%= path.sep %>*.css"]
+			# 	tasks: ["cssmin:build"]
+			# 	options:
+			# 		spawn: false				
 
 
 		# # automagically prefix our css

				options:
					filter: "include", 
					tasks: [ 
						"serve-dev",
						"wiredep"
					]
					descriptions:
						"serve-dev": "Boots up server and opens your default browser",
						"wiredep": "Wire in bower dependencies"


		# runs tasks concurrently				
		concurrent:
			dev: [
				"nodemon:dev"
			]
			options:
				logConcurrentOutput: true


		# boots up nodemon for us		
		nodemon:
			dev:
				scripts: "bin<%= path.sep %>www"

nodemon = require "./nodemon.json"

module.exports = (grunt) ->
