Skip to content

Conversation

@sntran
Copy link
Contributor

@sntran sntran commented Apr 2, 2015

Newer version of fs.readdirSync does not return . or .. and thus excluding the changed bundle from its list. This commit simply makes the temporary file readable by fs.readdirSync so that bundle manager can reload it correctly.

Now that we don't have . file when reading the bundle folder, I removed the last condition, but there may be a reason for it. Let me know if that is the case.

Newer version of `fs.readdirSync` does not return `.` or `..` and thus excluding the changed bundle from its list. This commit simply makes the temporary file readable by `fs.readdirSync` so that bundle manager can reload it correctly.

Now that we don't have `.` file when reading the bundle folder, I removed the last condition, but there may be a reason for it. Let me know if that is the case.
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

Successfully merging this pull request may close these issues.

1 participant