HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/Velosophe/carparkcannonball.cc/wwwroot/gulp/main-tasks/watch.js
// Load required plugins
var browserSync = require('browser-sync');
var functions   = require('../functions/functions');

// `gulp watch` - Use BrowserSync to proxy your dev server and synchronize code
// Generally you should be running `gulp` instead of `gulp watch`.
module.exports = function ($, gulp, manifest) {
    return function () {

        // Load main helper functions
        var path        = manifest.paths;
        var config      = manifest.config || {};

        browserSync({
            files: [path.dist + '**/*' , '{lib,templates}/**/*.php', '*.php'],
            proxy: config.devUrl,
        });

        gulp.watch([path.source + 'sketch/*.sketch'], ['sketch']);
        gulp.watch([path.source + 'styles/**/*'], ['stylelint', 'styles']);
        gulp.watch([path.source + 'scripts/**/*'], ['jshint', 'scripts']);
        gulp.watch([path.source + 'images/**/*'], ['images']);
        gulp.watch([path.source + 'fonts/**/*'], ['fonts']);
        gulp.watch(['bower.json', 'source/manifest.json'], ['build']);

    };
};