Put the green beans into a steamer and steam for about 10-12 minutes or until they are tender-crisp.
Drain and set aside.
While the beans steam, prepare the spice paste.
In a spice grinder or mortar, pound 1 teaspoon (5 ml / 0.2 fl oz) of the mustard seeds and the broken red chilies into a coarse powder.
Add the grated coconut and pulse or crush briefly to combine.
Set this mixture aside.
Heat the oil in a medium-sized frying pan over medium-high heat.
When the oil is hot, add the urad dal.
Fry until it just begins to turn a light golden color.
Immediately add the remaining ¼ teaspoon of mustard seeds. As soon as they begin to pop, add the crushed curry leaves (be careful, they will splutter).
About 3 seconds later, add all the steamed green beans to the pan.
Sprinkle with salt and stir-fry for about 2 minutes, ensuring the beans are well-coated with the tempered spices.
Take the pan off the heat and stir in the ground coconut-mustard mixture.
Mix thoroughly to combine.
Serve hot, warm, or at room temperature.