aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 0000000..663cb1a
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,30 @@
+
+module.exports = function(grunt) {
+ grunt.initConfig({
+ pkg: grunt.file.readJSON("package.json"),
+
+ watch: {
+ sass: {
+ files: ["scss/**/*.{scss,sass}"],
+ tasks: ["sass:dev"]
+ }
+ },
+
+ sass: {
+ dev: {
+ options: {
+ style: 'nested'
+ },
+ files: {
+ '_site/style.css': 'scss/style.scss',
+ 'style.css': 'scss/style.scss'
+ }
+ },
+ },
+ });
+
+ grunt.registerTask("default", ["watch"]);
+
+ grunt.loadNpmTasks('grunt-sass');
+ grunt.loadNpmTasks("grunt-contrib-watch");
+};