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

watch mode #55

Closed
yoshuawuyts opened this issue Feb 15, 2016 · 2 comments
Closed

watch mode #55

yoshuawuyts opened this issue Feb 15, 2016 · 2 comments

Comments

@yoshuawuyts
Copy link
Contributor

Reopening this as a follow up to #21.

Currently watchify kinda works with sheetify - since only new .js files are recompiled by browserify, just recreating new files from these events will cause incomplete files on recreation.

Maybe it's what #21 suggested, but I think the solution to this might be to send the stream in opts.out a "file" event so that it knows which are the new files, and which should be cached. I don't know how this would work on the cli tho in conjunction to watchify - should we perhaps have plugins such as browserify to make this work? I'm not sure, hah.

Thanks!

@yoshuawuyts
Copy link
Contributor Author

This was fixed in v5 by relying on watchify to reload chunks, and only externalize the CSS once the bundle is done. https://github.com/stackcss/css-extract

@yoshuawuyts
Copy link
Contributor Author

reopening because of #69

@yoshuawuyts yoshuawuyts reopened this May 15, 2016
mciparelli referenced this issue Jul 15, 2016
Signed-off-by: Yoshua Wuyts <[email protected]>
mciparelli added a commit to mciparelli/sheetify that referenced this issue Jul 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant