-
Notifications
You must be signed in to change notification settings - Fork 80
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 #7
Comments
For the watch option, I think it should be an array of resolved paths that we should watch.
And save hashes of those files and directory in the cache folder. So instead of just comparing JSON, Then, the compiler needs to run in watch mode if |
btw I've written a similar implementation of this plugin in this CRA PR. It would be nice if we can join the feature. |
Hi, @viankakrisna! good to see you here (: Thanks for the PRs! I am eager to dive into it. That's my plan for tomorrow. |
No problem! Just ping me if you need anything :) |
Oh and one more thing! Please keep in mind that more than one instance of the plugin can be used. |
that's making cleanup trickier, maybe we can set up a counter inside the constructor? |
updated #13 with NODE_ENV and instance id |
Currently, the conditions for cache invalidation are:
install
/ npmremove
As discussed in facebook/create-react-app#2710
Adding a watch functionality might be useful.
For examples, if someone adds a 'console.log()' in one of the node_modules, it will trigger a new build.
The text was updated successfully, but these errors were encountered: