Webpack 4 - build / watch optimization & configuration

I have a WordPress theme that used Webpack and I recently upgraded it to use Webpack 4.

When I run "npm run watch", my dev server starts, and my assets get rebuilt. This is correct.

My issue is when I then save one of my ".scss" files, all of the assets (js / images/ fonts /scss) all get rebuilt again together. That is not what I want.

I'm looking for when I save my ".scss" files, it then only recompiles those, not everything else. Same with my js/ images /fonts. (if I had a new image, images should run again, not the whole thing, if I save a JS file, js should run again, not the whole thing, etc)

The "CSS" also needs to be injected, instead of reloading the page. I also have this set in "browser sync" but that doesn't seem to be working anymore.

If this sounds like something you can update inside my config using Webpack 4+ please let me know.

Evner: CSS, Javascript, node.js

Se mere: Please note that this contest is to create the graphic design and then the WordPress theme based on that design. I know that som, who can help build a custom wordpress theme, how to build a custom wordpress theme, build a custom wordpress theme, build wordpress theme, build wordpress theme psd, wordpress theme used bimmerpost, build aggregator site wordpress theme, build watch circuit, simple wordpress theme build indexhibit, build website hardware configuration, wordpress theme used labnolorg, wordpress theme build, full browser image html, build custom wordpress theme, css full browser image, build wordpress theme software, change browser image website, build wordpress theme fireworks, php refresh browser image

Om arbejdsgiveren:
( 6 bedømmelser ) Aliso Viejo,

Projekt ID: #16766922

4 freelancere byder i gennemsnit $30 på dette job


Hello. I am experience with these problem. I can config them for you. Hope to work with you.

$35 USD in 3 dage
(1 bedømmelse)
$25 USD in 10 dage
(0 bedømmelser)

Hello , I am PHP (wordpress) expert, I can understand your problem, I can resolve it If you can hire me, few step are used to provide you solutions for your issue. Advance Thanks

$30 USD på 1 dag
(0 bedømmelser)
$30 USD på 1 dag
(0 bedømmelser)