You don't but your fire sensors are inside the containment area anyway (other than baggage compartment).
If you deal with the initial fire warning promptly then nothing should be able to escape the containment area - save an explosive failure of the engine in which case all bets are off.