Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fix: Find in Files results don't update to reflect external changes unless file is open #11602

Merged
merged 2 commits into from
Aug 27, 2016
Merged

Fix: Find in Files results don't update to reflect external changes unless file is open #11602

merged 2 commits into from
Aug 27, 2016

Conversation

amrelnaggar
Copy link
Contributor

This addresses #10717 and covers all FileSystem change events

@amrelnaggar amrelnaggar changed the title Fix: Find in Files results don't update to reflect external changes u… Fix: Find in Files results don't update to reflect external changes unless file is open Aug 17, 2015
@tallandroid
Copy link

Let me know if its accepted. I will stop working on it if thats the case.

@zaggino zaggino added this to the Release 1.8 milestone Aug 26, 2016
@zaggino
Copy link
Contributor

zaggino commented Aug 26, 2016

LGTM

@@ -795,7 +795,7 @@ define(function (require, exports, module) {

var addPromise;
if (entry.isDirectory) {
if (!added || !removed) {
if (!added || !removed || (!added.length && !removed.length)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd personally prefer || (added.length === 0 && removed.length === 0))

@amrelnaggar
Copy link
Contributor Author

Made the changes, this was better indeed.

@zaggino zaggino merged commit 57b5131 into adobe:master Aug 27, 2016
@zaggino
Copy link
Contributor

zaggino commented Aug 27, 2016

Thanks @amrelnaggar !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants