We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec5e261 commit 0182369Copy full SHA for 0182369
.gitignore
@@ -1,3 +1,4 @@
1
app/static/
2
+app/livereload.txt
3
node_modules/
4
bower_components/
gulpfile.js
@@ -13,10 +13,11 @@ global.flariorPaths = {
13
sassGlob: path.resolve('./app/sass/**/*.scss'),
14
javascript: path.resolve('./app/js/**/*.js*'),
15
jsxEntry: path.resolve('./app/js/app.jsx'),
16
+ backend: path.resolve('./app/livereload.txt'),
17
css: path.resolve('./app/css')
18
}
19
-gulp.task('webserver',['sass', 'watch', 'compileJs'], function() {
20
+gulp.task('webserver',['sass', 'watch', 'compileJs', 'backend'], function() {
21
gulp.src(flariorPaths.app)
22
.pipe(webserver({
23
host: '0.0.0.0',
@@ -44,9 +45,14 @@ gulp.task('compileJs', function(){
44
45
.pipe(gulp.dest('./app/static/js'))
46
});
47
48
+gulp.task('backend', function() {
49
+
50
+});
51
52
gulp.task('watch', function(){
53
gulp.watch(flariorPaths.sassGlob, ['sass']);
54
gulp.watch(flariorPaths.javascript, ['compileJs']);
55
+ gulp.watch(flariorPaths.backend, ['backend']);
56
57
58
gulp.task('default', ['webserver']);
0 commit comments