A cursory glance on the topsoil should be enough to spot the larvae. A sure sign of gnat infestation is if you see any of the tiny pests hovering near your produce. If you have soil that is constantly damp, there's a high chance that gnat larvae are crawling underneath. Also, look for signs of drooping or excessive shedding of leaves. A sign that the roots are under attack.