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

Question: Watch mode #7

Closed
jon301 opened this issue Nov 10, 2020 · 5 comments
Closed

Question: Watch mode #7

jon301 opened this issue Nov 10, 2020 · 5 comments

Comments

@jon301
Copy link

jon301 commented Nov 10, 2020

Hi @milesj !
While developing a library with Packemon, I was wondering if there was any watch mode available ?

@milesj
Copy link
Owner

milesj commented Nov 10, 2020

@jon301 No plans for watch mode. Packemon was designed to be ran pre-publish. What is your use case?

@jon301
Copy link
Author

jon301 commented Nov 10, 2020

I currently have a yarn v2 monorepo with a nextjs app and a library bundled with rollup. The latter is a dependency of the app.
During dev, I open 2 terminals and run both in watch mode. When a change occurs on the lib, the app detects it and rebuilds automatically.

Now I'd like to try to replace my custom rollup config with packemon, but I'd prefer not having to compromise the developer experience.

@milesj
Copy link
Owner

milesj commented Nov 10, 2020

@jon301 Cool, not opposed to watch, just not sure when I'll get around to it. May have to roll my own implementation.

@milesj
Copy link
Owner

milesj commented Nov 15, 2020

Started experimenting here #11

@milesj
Copy link
Owner

milesj commented Nov 15, 2020

Added. Very basic now but can improve upon.

@milesj milesj closed this as completed Nov 15, 2020
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

No branches or pull requests

2 participants