I want to use Laravel Elixir with the Semantic UI in my new project.
In the Semantic UI docs, they suggest including their gulp tasks in your current gulpfile project. At Laravel, they offer (briefly) how to renew an elixir. But how to include the following gulp command in the watch ?
I am currently running gulp watch watch-ui , but I wanted to enable the watch-ui task inside watch . Is it possible?
This is my current gulpfile.js :
var gulp = require('gulp'); var elixir = require('laravel-elixir'); var semantic = { watch: require('./resources/assets/semantic/tasks/watch'), build: require('./resources/assets/semantic/tasks/build') }; gulp.task('watch-ui', semantic.watch); gulp.task('build-ui', semantic.build); elixir(function(mix) { mix.task('build-ui'); });
laravel laravel-5 gulp semantic-ui gulp-watch
igorsantos07
source share