Per project ignore files with `.projectile` directive not working as expected

What happened?

I am trying to ignore files in a given project by using .projectile file with -*.svg (Ignore all SVG files for now) within it. But even after clearing project cache, it still show up.

Official document does says the same here: Projectile Doc

What did you expect to happen?

in Find file in project SVG files still comes up but according to config it shouldn’t.

Steps to reproduce

  1. For a given project create .projectile file
  2. Add -*.svg to it
  3. Clear all the cache, and run Find file in project.

System information

Loading data dump...