Combine all ingredients in a medium sauce pan, adding the water last. Heat on medium until the sauce begins to bubble and thicken. Taste and adjust as needed by adding more sugar, lime juice, or chili flakes.
Serve hot or cold.
This sauce can be stored in the refrigerator for up to one week.