easyappointments/tools/gulp/dev.js

20 lines
688 B
JavaScript

/* ----------------------------------------------------------------------------
* Easy!Appointments - Open Source Web Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c) 2013 - 2018, Alex Tselegidis
* @license http://opensource.org/licenses/GPL-3.0 - GPLv3
* @link http://easyappointments.org
* @since v1.4.0
* ---------------------------------------------------------------------------- */
module.exports = (gulp, plugins) => {
const task = require('gulp-sync')(gulp);
return () => {
gulp.start(task.sync(['clean', 'scripts', 'styles', 'watch']), 'dev');
};
};