Heat coconut oil in a large saucepan over medium-high heat, then cook eggplant and stir constantly for about 5 minutes till softened. Transfer Eggplant to a bowl and set aside.
Add onion to the pan and cook until soft (about 2 to 3 minutes) then add your chopped chili peppers, garlic, cumin seeds, mustard seeds, cardamom, cinnamon, cloves, and curry leaves. Cook until fragrant, about 1 minute, stirring frequently.
Stir in salt, chili powder, and turmeric powder, and cook for a minute.
Stir in tomatoes, water, and eggplant. Bring to a boil, and reduce heat to simmer for about 10-15 minutes. Season with salt to taste. Serve.