Andy-set-studio / hylia

Hylia is a lightweight Eleventy starter kit to help you to create your own blog or personal website.
https://hylia.website
MIT License
905 stars 230 forks source link

Updating .scss files does not trigger 11ty rebuild / Browsersync update #132

Open zplume opened 4 years ago

zplume commented 4 years ago

Hi @hankchizljaw,

I've noticed that updating *.scss files doesn't trigger an 11ty rebuild while running npm start and testing on http://localhost. This means that those changes aren't automatically reflected in your browser by Browsersync.

To see *.scss changes in your browser while tweaking styles and testing on http://localhost, you need to re-run npm start.

I have created a fork of Hylia with a browsersync-scss branch containing the following changes:

With those changes, you can test on http://localhost, make changes to *.scss files, and those changes are reflected almost instantly in your browser by Browsersync.

Is this a change you think would be worth submitting as a PR? If so, are there any changes needed in the browsersync-scss branch?

Thanks!

zplume commented 4 years ago

I've updated the browsersync-scss branch to remove my pnpm-lock.yaml file.

Andy-set-studio commented 4 years ago

Howdy! I think I'm going to rip out the current Sass implementation in the future and replace it with the Gulp setup that I created for my Eleventy course instead.

I appreciate you flagging this up though :)