Closed ajmalmsali closed 10 years ago
Something interesting i Found,
running gulp watch is enough for watching changes in less/html/js instead of running gulp watch:less,
i.e, it build tasks according to the files changed, when a *.less file is changed corresponding OS theme is only built. not all the files.
& more interesting is grunt also works likewise.
Hey Ajmal,
I’m not able to replicate that behavior with gulp watch. It winds up build all three themes for me :-( You mind providing some more details how you’re doing that?
Robert Biggs Product Director ChocolateChip-UI www.sourcebits.com
(415) 288-3697 Sourcebits, Inc. 211 Sutter Street. STE 200 San Francisco, CA 94108
On Apr 28, 2014, at 5:21 AM, Ajmal Sali notifications@github.com wrote:
Something interesting i Found,
running gulp watch is enough for watching changes in less/html/js instead of running gulp watch:less,
i.e, it build tasks according to the files changed, when a *.less file is changed corresponding OS theme is only built. not all the files.
& more interesting is grunt also works likewise.
— Reply to this email directly or view it on GitHub.
Actually, that is a neat way that gulp handles watch. Thanks for that. I wasn't aware of that feature. I guess that's always the issue, not enough examples and poorly documented or undocumented features in our tools. I had been thinking of integrating gulp-changed or gulp-remember. Now not necessary.
Yes that's it.. now chui users can just use gulp watch or grunt watch for watching anything. :)
but have a look on line.no 401 of gruntfile.js, still we need that there?
added new gulp tasks
watch:less watch:scripts watch:html watch:html --dir=rtl
Replaced old 'watch' task with new watch task, that watches HTML, JS & LESS