LoomSDK/LoomSDK — pull request #237 by SmilyOrg (2014-12-11 01:58:51+00:00)
Title: Fixed reload when a file gets added and deleted in rapid succession

If a file gets created and deleted very quickly, the live reloading asset system can pick up the creation, but then spams the console output when it can't find it anymore, since it was deleted.

This can happen very quickly when exporting with Audacity, since it creates and deletes a file named [filename]0.ogg before moving/deleting it, making the console continuously output the following, since the file doesn't get removed from the pending files list.

```
[loom.asset] o Skipping due to not being in the asset folder!
[loom.asset] Failed to resolve path .\assets/laser0.ogg via realpath due to No such file or directory
[loom.asset] o Skipping due to not being in the asset folder!
[loom.asset] Failed to resolve path .\assets/laser0.ogg via realpath due to No such file or directory
[loom.asset] o Skipping due to not being in the asset folder!
[loom.asset] Failed to resolve path .\assets/laser0.ogg via realpath due to No such file or directory
[loom.asset] o Skipping due to not being in the asset folder!
[loom.asset] Failed to resolve path .\assets/laser0.ogg via realpath due to No such file or directory
[loom.asset] o Skipping due to not being in the asset folder!
[loom.asset] Failed to resolve path .\assets/laser0.ogg via realpath due to No such file or directory
```

I fixed this by removing the file from pending files if it doesn't exist, I don't think there are any negative side effects of this, but I might be mistaken.