The larvae or adults are seen, water the compost with malathion or a soil-pest killer. Spray the leaves as well.