const gulp = require ( 'gulp' ) ; const less = require ( 'gulp-less' ) ; const SIMPLE_LESS = [ 'styles/*.less' ] ; function compileLESS ( ) { return gulp . src ( 'styles/ironsworn.less' ) . pipe ( less ( ) ) . pipe ( gulp . dest ( './styles/' ) ) ; } const css = gulp . series ( compileLESS ) ; function watchUpdates ( ) { gulp . watch ( SIMPLE_LESS , css ) ; } exports . default = gulp . series ( gulp . parallel ( css ) , watchUpdates ) ; exports . css = css ;