Created
August 7, 2014 16:42
-
-
Save madbook/0d1f2fb96fe00ef5ac97 to your computer and use it in GitHub Desktop.
coffescript gulpfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp = require 'gulp' | |
browserify = require 'gulp-browserify' | |
react = require 'gulp-react' | |
gulp.task 'scripts', () -> | |
gulp.src 'src/jsx/app.jsx' | |
.pipe browserify() | |
.pipe react() | |
.pipe gulp.dest 'build/js' | |
gulp.task 'watch', () -> | |
gulp.watch paths.src.scripts, ['scripts'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('coffee-script/register'); | |
require('./gulpfile.coffee'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment