Support 'discard' query param on livedev method