I am trying to use https://github.com/atom/tree-view#api in my https://github.com/azawawi/atom-perl6-editor-tools/blob/master/lib/file-icons.js#L12 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.