Skip to content

Instantly share code, notes, and snippets.

@IlanFrumer
Last active January 1, 2016 19:09
Show Gist options
  • Save IlanFrumer/8188368 to your computer and use it in GitHub Desktop.
Save IlanFrumer/8188368 to your computer and use it in GitHub Desktop.
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
sass:
options:
includePaths: ["bower_components/foundation/scss"]
dist:
options:
outputStyle: "compressed"
files:
"css/app.css": "scss/app.scss"
connect:
server:
options:
base: "."
watch:
options:
livereload: true
grunt:
files: ["Gruntfile.coffee"]
sass:
files: "scss/**/*.scss"
tasks: ["sass"]
grunt.loadNpmTasks "grunt-sass"
grunt.loadNpmTasks "grunt-contrib-watch"
grunt.loadNpmTasks "grunt-contrib-connect"
grunt.registerTask "build", ["sass"]
grunt.registerTask "default", [ "build" , "connect" , "watch" ]
@IlanFrumer
Copy link
Author

npm install grunt-contrib-connect grunt-contrib-jade --save-dev

<script src="//localhost:35729/livereload.js"></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment