Grind coriander and chilies to a paste. Heat ghee and add mustard seeds. When they start popping, add onion and fry till they turn slightly brown. Add pineapple, coriander/chili paste and fry just until well mixed. Add salt, jaggery and water. Simmer on a very low flame until the gravy thickens a bit.