Disable only one of the infered commands

In one app we have both Rspec and Konacha (javascript) tests.

I want to run the Konacha tests only when the javascript files change, I already have a script to do that.
The CircleCI inference executes the Rspec tests in parallel, so I don’t want to disable inference completely, I just want to disable the Konacha inference and run my script instead.

Is there a way of disabling only one of the inferenced commands?