Intro to Webpack Dev Server - Part II

preview_player
Показать описание

Webpack dev server is great for hot reloading—automatically injecting file changes into the browser without fully refreshing the page. However, since webpack dev server only watches for changes for files being pulled in through webpack's main entry point, it's unable to refresh the browser whenever we make changes to certain files. For instance, html and backend files typically aren't pulled in through webpack's entry point, as a result, they're not refreshed by webpack dev server whenever a change is made to one of them. To fix this, we're going to implement something called Browser Sync. Learn how and why you'll want to use this in every project you develop on from here-on out.

-------------------------------------------------

Video Timeline:
---------------
00:00 - Our current problem and the proposed solution
02:58 - Where we left off / beginning steps to integrate browser sync
05:34 - Browser Sync plugin properties
11:45 - Testing our Browser Sync implementation
13:17 - Summary / Outro

The Platform:
-------------

Each course tells a different story, and each milestone reveals a different scene. With an expansive universe to explore, you can track your progress, and gain the necessary skills needed to build your dreams.

Support Chris Courses Through Patreon:
--------------------------------------

Chris Courses Social:
---------------------

Christopher Lis Social:
-----------------------
Рекомендации по теме
Комментарии
Автор

Good tutorial, man. It all worked without any hitches.

ibuprofen
Автор

Hey Chris, I'd love to a follow up connecting to a back end PHP server as you mentioned at the end of your video.

wasca
Автор

hi Chris. Would be nice to have a complement showing how to link webpack/js with flask backend. greetings

djemdjam
Автор

Hello Chirs, it's still much helpful. Can you please make a video about connecting PHP server (virtual host) and webpack dev server with HMR.

arif-uddin
Автор

I love the way you teach complicated parts. Thanks a lot.

TheCreativeRio
Автор

Hi Chris, any advice on how to setup webpack to use a proxy for two different domains? In development, the product I work on has a single sign on that is launched at say localhost:4000, however once you navigate away from the sso...you wind up at localhost:9000, for example. Is there an elegant way to handle this?

jared
Автор

Is it just me or Chris really looks like the CEO of snapchat? hehe. Cool stuff btw. Looking forward for the canvas series continuation. :)

youngdochoi
Автор

Wow, thank for this tutorial! I would also love a follow up connecting to a back end PHP server!

torurz
Автор

Awesome tutorial! Added browser-sync to webpack for the first time and I love it! Thank you!

phillipscards
Автор

hey man do you have any upcoming series after you are done with this one and the node auth tutorial?

Albertmars
Автор

in ur personal website...can u tell me how dis make homepage its ao cool!! plzz tech me

SandyUndefinedVlogs