Skip to content

Instantly share code, notes, and snippets.

@antnieszka
Created March 12, 2018 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antnieszka/8b58421c9c8e7853f06bb7080ecad808 to your computer and use it in GitHub Desktop.
Save antnieszka/8b58421c9c8e7853f06bb7080ecad808 to your computer and use it in GitHub Desktop.
Simple gulpfile for django projects
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