Tree-view API not working on Atom environment startup


I am trying to use in my to display custom file icons for Perl 6 file type. The problem is that iconClassForPath(path) is called only after a collapse/expand folder event and not on atom environment

I have been trying to work around it via the following code but it is not working either.


Your help is appreciated.


Please file a bug on, preferably with code that you can reproduce the problem.


Already filed it in