mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
gulp listener on remotecontroller too, and updated remotecontroller.js
This commit is contained in:
@@ -25,7 +25,19 @@ gulp.task('nochan', function () {
|
||||
.pipe(gulp.dest('../static/build-js'));
|
||||
});
|
||||
|
||||
gulp.task('remotecontroller', function () {
|
||||
gulp.src(['../static/js/remotecontroller.js'])
|
||||
.pipe(uglify({
|
||||
mangle: true,
|
||||
compress: true,
|
||||
enclose: true
|
||||
}))
|
||||
.pipe(concat('remotecontroller-min.js'))
|
||||
.pipe(gulp.dest('../static/build-js'));
|
||||
});
|
||||
|
||||
gulp.task('default', function(){
|
||||
gulp.watch('../static/js/*.js', ['js']);
|
||||
gulp.watch('../static/js/nochan.js', ['nochan']);
|
||||
gulp.watch('../static/js/remotecontroller.js', ['remotecontroller']);
|
||||
});
|
||||
@@ -4,7 +4,7 @@ var server;
|
||||
This if for the localhost running
|
||||
|
||||
******/
|
||||
localhost = false;
|
||||
localhost = true;
|
||||
|
||||
//https server
|
||||
if(localhost)
|
||||
|
||||
Reference in New Issue
Block a user