Heat the oil in a large wok over high heat until shimmering. Add the mustard seeds (cover to catch popping mustard seeds).
After the seats stop sputtering add the turmeric and stir, then add the onion potatoes salt and cayenne. Cover and cook on medium heat until tender, approximately 20 minutes.