Gulp 4 - BrowserSync and Auto Reload

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии •

  • @VictorGuggenbuhl-d8r
    @VictorGuggenbuhl-d8r Год назад

    Hello, I've been following this tutorial, as well as the previous one "How to Upgrade to Gulp 4 - Create default, parallel, series, and watch tasks", to upgrade the gulpfile of an old project in my company. It was a bit more elaborate than the simple one you've created for the tutorial but in the end, I've managed to make it work.
    Thank you so much, you were really helpful ! Cheers to you, take care.

  • @alipoetry1626
    @alipoetry1626 5 лет назад +1

    By The Way THanks Sir Alex For supporting us to the extent you could and were able to

    • @alecaddd
      @alecaddd  5 лет назад

      You're very welcome :D

  • @mabuctv
    @mabuctv 5 лет назад +1

    WOW. Thanks Alex for fixing the browserSync. Really nice tutorials.

    • @alecaddd
      @alecaddd  5 лет назад +1

      You're very welcome :D

  • @teju7907
    @teju7907 10 месяцев назад

    Hi is there any change to connect with you, i have one JavaScript project and need to implement cache issue with Gulp and somehow it's not working. Is there any chance to connect with you ?

  • @fixmysync
    @fixmysync 5 лет назад +1

    This is very helpful, thank you! Is there a copy of your gulpfile.js anywhere (for easier reference)? Github, perhaps?

    • @fixmysync
      @fixmysync 5 лет назад

      Never mind! I found it: github.com/Alecaddd/gulp-es6/blob/master/gulpfile.js

    • @alecaddd
      @alecaddd  5 лет назад

      Happy to be helpful :D

  • @alipoetry1626
    @alipoetry1626 5 лет назад

    Hey Sir Alex I have Another Question ? What PhotoEditing software SirJi do you mainly use to create the theme design then convert it to WordPress theme then sell it online

    • @alecaddd
      @alecaddd  5 лет назад

      On MacOS I used to use Sketch or Affinity Designer. On Linux, I use Gravit Designer

  • @reinfotec
    @reinfotec 5 лет назад +1

    Man, you are great, that works perfectly, your explanations are clear like water ;-) Thank you!

    • @alecaddd
      @alecaddd  5 лет назад

      You're very welcome

  • @tedshapera8062
    @tedshapera8062 5 лет назад

    Thank you Alessandro for this excellent series.
    Now that I have completed all 11 modules I have a debugging question!
    Our gulp watch command transpiles and minimizes our javascript files. If I need to use developer tools to debug my js code (say step through a function line by line), now isn’t the generated transpiled code different from my original code in our src folder? Is it sometimes hard to extrapolate the bug you want to fix back to the original code that caused the bug back in the src folder or do the map files help us with this?

    • @alecaddd
      @alecaddd  5 лет назад

      The map files exist for this purpose. Be sure your map file is referenced as a comment in your minified JS file and the inspector should be able to pick it up and allow you to inspect the unminified version.

  • @harryadneyinternetservices
    @harryadneyinternetservices 5 лет назад

    A link to the previous lesson would be awesome!

  • @mabuctv
    @mabuctv 5 лет назад

    Yes. I would love to see php with browserSync. :)

    • @alecaddd
      @alecaddd  5 лет назад +1

      You can easily do it by watching for any PHP files change in your src directory. It's exactly the same thing we're doing for the html files :D

  • @chidiorji
    @chidiorji 5 лет назад

    Thanks for the reload method

  • @noumanhassan8275
    @noumanhassan8275 5 лет назад

    Hello, I'm new to all this... When I tried to run "npm install" to install all packages it is giving me this error
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    although things are working fine for me, but still wondering.
    Thanks a lot. (:

  • @mardii11
    @mardii11 5 лет назад +1

    Thank for the amazing tutorials. I just wonder if the implementation is very similar for using gulp with WordPress.

    • @alecaddd
      @alecaddd  5 лет назад +3

      Yes, it's identical. Check my Plugin series where I'm using this very own Gulp setup to compile assets

  • @adrian20065
    @adrian20065 5 лет назад

    Hi Alessandro, thank you for this tutorial it was helpful. Now that gulp is updated to 4 I have to run two difference commands. I have to run "gulp" for the various tasks to run and then "gulp watch" for the watch to run. I was able to run "gulp" with previous setup with gulp 3 and it would run both the tasks and watch at once. Am I missing something or this is the way I have to do it now? Thanks.

    • @alecaddd
      @alecaddd  5 лет назад

      I never tried it, but I guess you could put the `watch` task inside the `default` task.
      It's usually recommended to keep the default and watch task separated tho.

    • @adrian20065
      @adrian20065 5 лет назад

      @@alecaddd Thanks for the quick response. I agree with you and decided to keep it separate.

  • @Alvaro-cq3im
    @Alvaro-cq3im 5 лет назад +1

    It works perfectly, thank you!!

  • @Skyflyer
    @Skyflyer 5 лет назад

    Hello Alessandro,
    Can you share with us the source code of this tuto, it wiil be much appreciated.
    Thanks a lot :)

    • @alecaddd
      @alecaddd  5 лет назад

      It's all here: github.com/Alecaddd/gulp-es6

  • @marcelomachadocardoso5508
    @marcelomachadocardoso5508 5 лет назад +2

    tankyou castellani, i am get tutorial and example GITHUB, okay!!!!

  • @WaterbackJJ
    @WaterbackJJ 3 года назад

    very helpful, thanks ^^

  • @BraceZenith
    @BraceZenith 5 лет назад

    Hi Alessandro, I wanted to ask which editor is this, and which skin (if not default)?

    • @alecaddd
      @alecaddd  5 лет назад

      I'm using VSCode and I made a video to showcase my setup: ruclips.net/video/NOeC1V8DH70/видео.html

    • @BraceZenith
      @BraceZenith 5 лет назад

      Thanks! :)

  • @bobrovalex
    @bobrovalex 5 лет назад +1

    php browserSync for next tutorial in plans ? :)

    • @alecaddd
      @alecaddd  5 лет назад

      You can easily do it by watching for any PHP files change in your src directory. It's exactly the same thing we're doing for the html files :D

    • @bobrovalex
      @bobrovalex 5 лет назад

      @@alecaddd I doubt

  • @wsthankyou
    @wsthankyou 5 лет назад

    What happen to the Laravel Tutorials

    • @alecaddd
      @alecaddd  5 лет назад

      They're coming back next week, 3 in a row.
      I like to do tutorials about multiple topics, that's why sometimes I focus on something else :D

  • @MrVisheshsingh
    @MrVisheshsingh 3 года назад +1

    sweet!

  • @bobrovalex
    @bobrovalex 5 лет назад

    did you try? var reload = funcrion() { browserSync.reload }

    • @alecaddd
      @alecaddd  5 лет назад

      No, I didn't, you can give it a try and if it works for you, great :D

  • @etrimonblutwor8357
    @etrimonblutwor8357 5 лет назад

    Hello Alex, great work once again 👍
    Btw. Do you have an idea, how to make custom url for browsersync working like website.local ?
    Proxy param doesnt seem to work, it always launches only localhost.
    But if I put localhost/website, it works.
    Didnt find a solution for this yet.
    See you next time🙂

    • @alecaddd
      @alecaddd  5 лет назад

      Did you watch the entire Playlist for Gulp? ruclips.net/p/PLriKzYyLb28lp0z-OMB5EYh0OHaKe91RV
      Most of those videos are based on Gulp 3, but if you start with the proper Gulp 4 setup, applying browsersync with a custom url and HTTPS has the same options and syntax.

  • @abdallahtarek1213
    @abdallahtarek1213 5 лет назад

    I have AMD RADEON R5 M430 2GB AND INTEL I3 6100U
    IAK ON UBUNTU IAM TRY TO INSTALL DAVINCI RESOLVE 15 LITE VERSION
    I INSTALLED OCL AND OBLAT S.
    FOR AMD BUT Davinci Resolve 15 not opened
    How i can fix this problem

    • @alecaddd
      @alecaddd  5 лет назад

      Check this blog post I wrote: www.alecaddd.com/how-to-install-davinci-resolve-on-ubuntu-and-fix-the-audio-issue/

  • @ryanmendoza727
    @ryanmendoza727 5 лет назад

    Awesome thank you so much!!!! :)

  • @sureshrao9250
    @sureshrao9250 5 лет назад

    Hey alecaddd. Please upload a video of laravel series and one for that how we can create own custom block in wordpress gutenburg.
    Thank you.

    • @alecaddd
      @alecaddd  5 лет назад +1

      New Laravel and WordPress videos are coming next week

  • @Alexmontoyaangel
    @Alexmontoyaangel 5 лет назад

    Thanks men

  • @marcelomachadocardoso5508
    @marcelomachadocardoso5508 5 лет назад +1

    post download example this code, gulp to study

    • @alecaddd
      @alecaddd  5 лет назад

      You can find the link to the GitHub repo in the description

    • @qucksetupguide
      @qucksetupguide 5 лет назад +1

      @@alecaddd unfortunately i cant find the github-link in the description, would you please be so kind as to provide it here?

  • @iamomman
    @iamomman 5 лет назад

    Please New Bootstarp with Gulp 4

    • @alecaddd
      @alecaddd  5 лет назад

      It's really easy to implement, check my tutorials and you will learn how to do it

    • @iamomman
      @iamomman 5 лет назад

      @@alecaddd plz give me this gulpfile.js file...maybe mine not work..thank you..

  • @edysssays
    @edysssays 5 лет назад +1

    thx man a lot))))