-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgruntfile.coffee
More file actions
41 lines (29 loc) · 844 Bytes
/
gruntfile.coffee
File metadata and controls
41 lines (29 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
watch:
scripts:
files: [
'public/assets/sass/screen.scss'
]
tasks: ['sass']
options:
nospawn: true
interrupt: true
# GRUNT CONTRIB SASS
# sass:
# compile:
# options:
# sourcemap: false
# style: 'expanded'
# files:
# 'public/assets/css/scaffolder.css': 'public/assets/sass/scaffolder.scss'
# GRUNT SASS (C COMPILER)
sass:
compile:
files:
'public/assets/css/screen.css': 'public/assets/sass/screen.scss'
# grunt.loadNpmTasks 'grunt-contrib-handlebars'
grunt.loadNpmTasks 'grunt-sass'
grunt.loadNpmTasks 'grunt-contrib-watch'
grunt.registerTask 'default', ['sass','watch']