 rename      = require("gulp-rename")
 fileinclude = require('gulp-file-include')
 modRewrite  = require 'connect-modrewrite'
-
-
-
+watch        = require 'gulp-watch'
 
 cssDir       = "./src/css/"
 targetCssDir = "./compiled/css/"

gulp        = require("gulp")
browserSync = require 'browser-sync'
reload      = browserSync.reload

gutil       = require("gulp-util")
notify      = require("gulp-notify")

    server:
      baseDir: "./"
    startPath: "/compiled/index.html"
    debugInfo: false
    notify: false


gulp.task 'prepare', ['css', 'fileinclude', 'html'], (next) ->
  next()


gulp.task "watch", ['prepare', 'browser-sync'], ->
  gulp.watch("**/*.html", ['fileinclude', 'html'])
  gulp.watch("**/*.sass", ['css', 'fileinclude'])
