Skip to content

Fix watcher mode file merge#32

Open
vdimir wants to merge 3 commits into
xiaofuzi:masterfrom
vdimir:fix-watcher-mode-file-merge
Open

Fix watcher mode file merge#32
vdimir wants to merge 3 commits into
xiaofuzi:masterfrom
vdimir:fix-watcher-mode-file-merge

Conversation

@vdimir
Copy link
Copy Markdown

@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