Use of meditation and yoga to develop mindful awareness ( ` mindfulness training ' ) may be an effective approach to treat chronic insomnia , with sleep outcomes comparable to nightly use of prescription sedatives , but more durable and with minimal or no side effects .