-
Notifications
You must be signed in to change notification settings - Fork 457
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
fix(perf): add cache for fs calls when using language service #1049
Conversation
lodash.memoize is a devDependency, should I include it in the dependencies? Or do we favor the old PR over this? |
Pull Request Test Coverage Report for Build 3533
💛 - Coveralls |
I think if lodash.memoize is needed for published version then we need to add it to dependencies. I think I don't have any questions about this. Just you need to check why the CI failed. |
I agree. I didn't see it was a devDependency. |
One test seems to be failing on linux with node 6. Once that's fixed, this looks good to me |
snapshot failed on node 6 looks strange, even though new snapshot looks identical to old snapshot. Would you please check @topaxi |
I'm unable to reproduce this on my machine using node v6.16.0. |
hmm, the similar error occurs to #1056 which upgrades upgrade |
That's.. weird. Seems like Node 6 is running through the files in a different order for node 6 here, not identical as in #1056 - I'm thinking maybe we should drop the Node 6 build - latest LTS is node 8 anyways. |
I think we should. Not sure if jest already dropped support. We need to check if jest dropped then we will do too. |
what should we deal with node 6 failed build here @GeeWee ? |
I think we should disable it but only @kulshekhar has CI access I think |
I have tried this patch and it will break "watch" mode, because file changes are not reloaded. |
I haven't checked further implications in this PR, I continued the work from #940. Let me know if there is anything left I can do, although this PR isn't very high in my priorities. If anyone else is up for this, feel free to take over or close 👍 |
If rebasing this branch, CI no longer runs for node 6 |
Rebased |
Supersedes #940