Learning Gulp #4 - Watching Files With Gulp

preview_player
Показать описание
Keep Gulp running watching files for changes and then run tasks with Gulp Watch.

Subscribe to Level Up Pro for extra features!

Subscribe to the Level Up Newsletter

For questions post in the comments or visit:

To Support Level Up Tuts:

Simple cloud hosting, built for developers.:
Рекомендации по теме
Комментарии
Автор

Thanks for re-posting these so quickly, Scott.

JeffSFO
Автор

LevelUpTuts Hey, really enjoying these tutorials. So simple to learn... off topic though - at 2:20 you click or use a command that brings up what I believe to be your clipboard / copy history. Was just wondering what this is.. because it's cool and I want it and it would be a live saver haha!

karltaylor
Автор

Can we pass an array in the first parameter of the gulp.watch method if we want to watch more than one file like: gulp.watch(['js/script.js', 'scss/style.scss'], ['task1', 'task2']); ???

imomer
Автор

How would you watch a folder and only copy the changed file to the dist folder?

gravity_media
Автор

My gulp watch is very very very slow. I’m not sure why, any help?

Hasansaid
Автор

i follow your tutorial but scripts didn't show up that is working, what it could be the problem ?

rnoureldin
Автор

I'm on Windows 7... how do you stop gulp watch and start typing again? I cannot find it becayuse I have to re-start Command Prompt everytime

Centuska
Автор

What's up guys. I can't use gulp console (enter another commands) after running 'gulp' with included 'watch' function into default task. What should I press on Windows to make it work?

stewart
Автор

If you used grunt: which do you prefer grunt of gulp..

tim.bogdanov
Автор

What does gulp- watch do ?? I am not getting it

thisguymartin
Автор

May you help with watch function in gulpfile?
In this config:
In order to observe all the changes in the SRC folder and completely rebuild the project, do I have to copy the same thing into the 'watch' function as in 'default'? Can I make it shorter?
> function watch() {
>     gulp.watch('./src/**/*',  default)
> }
Specifying 'default' (default Gulp task) in the watch function parameters returns an error...

P.S.: Sorry for my bad english, I use Google translate)))

АлександрКопытенко