Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix watcher mode file merge #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vdimir
Copy link

@vdimir vdimir commented Apr 18, 2021

This PR suggest a solution to handle multiple files in watcher mode. It tracks loaded files and checks whether a file was used on current watcher iteration.
Compiled css stored in a map that is updated on transform stage and is written into file on generateBundle stage.

Also some minor style changes

Node package 'fs' used prior to 'fs-extra' and 'mkdirp' (packgage.json and package-lock updated)

@vdimir vdimir force-pushed the fix-watcher-mode-file-merge branch from 3e984e4 to e76d46a Compare April 18, 2021 08:43
@vdimir vdimir force-pushed the fix-watcher-mode-file-merge branch from e76d46a to 6c3ce17 Compare April 18, 2021 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant