reactway / scss-bundle

Bundling SCSS files to one bundled file.
MIT License
56 stars 25 forks source link

Run initial build when started with --watch option #93

Open Akkora opened 4 years ago

Akkora commented 4 years ago

Currently we need to run the scss bundle in our developmemt process twice. Once for the initial build and then with --watch option to have live updates on file changes. This makes our build process slower, because we build the file, wait for it (with wait-on) and then start it again with --watch option.

Possible Solution Run an initial build, when started with --watch option. Maybe it makes sense to have a --skip-initial-build option or something like that, to keep it like it is. Maybe even enable it with a --initial-build option to explicitly enable it.