Dispatch events before indexing products and categories.
Merge pull request #29 from sergeykalenyuk/improvement

Dispatch events before indexing products and categories.