QGIS

Reload layer: Open Python Console (Ctrl+Alt+P), paste:

iface.activeLayer().dataProvider().reloadData()