.cursorignore exceptions are not working

I have a directory added in the .gitignore

.build/

And I am trying to add something from there in .cursorignore file, so that I can reference it back in the chat/agent mode.

!.build/checkout/someDir/*