Created
March 12, 2018 20:26
-
-
Save antnieszka/8b58421c9c8e7853f06bb7080ecad808 to your computer and use it in GitHub Desktop.
Simple gulpfile for django projects
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
var gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
gulp.task('default', function () { | |
browserSync.init({ | |
notify: true, | |
proxy: "localhost:8000", | |
ghostMode: false, | |
reloadDebounce: 500 | |
}); | |
gulp.watch(['./myDjangoApp/**/*.{css,html,py,js}'], reload); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment