You can change when to flash and which apps will flash the LED when there are new notifications.
- Go to Settings > Sound & notification
- Under Notifications, tap Flash LED for notifications
- Choose whether to always flash the LED or flash it only when the screen is off
- Tap Manage LED notifications
- Choose which app notifications you want the LED to flash for