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

Rebuild the application after installing a new package #208

Closed
reznord opened this issue Jul 9, 2017 · 6 comments
Closed

Rebuild the application after installing a new package #208

reznord opened this issue Jul 9, 2017 · 6 comments
Assignees

Comments

@reznord
Copy link
Member

reznord commented Jul 9, 2017

So, right now when I add a new package to the project, I have to restart the dev build, so that I can use the package that I've added.

It would be great if we can trigger a rebuild when a new package is added. CRA has this functionality and it is quite useful.

Any suggestions @developit @lukeed @rkostrzewski

@reznord
Copy link
Member Author

reznord commented Jul 9, 2017

@knight-bubble I've seen this. Asking if adding this will get or helpful or not.

@SaraVieira
Copy link
Contributor

@reznord how about a postintall script in the package.json that runs preact build?

Sent from my Bq Aquaris M5 using FastHub

@reznord
Copy link
Member Author

reznord commented Jul 13, 2017

I don't think that will work, since the user may install a package from a new terminal instance. In that case the postinstall script doesn't work.

@developit
Copy link
Member

The CRA plugin looks neat.

@reznord
Copy link
Member Author

reznord commented Jul 13, 2017

Cool, I'll take this on.

This issue was closed.
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

4 participants