<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156234118" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/6656" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/6656/hovercard" href="https://github.com/microsoft/vscode/issues/6656">#6656</a></p>
<p dir="auto">This might be a larger problem with the peek feature.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2193314/15515142/81d8f884-21a1-11e6-87e1-7c14e2c946b0.png"><img src="https://cloud.githubusercontent.com/assets/2193314/15515142/81d8f884-21a1-11e6-87e1-7c14e2c946b0.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I have several issues with it:</p>
<ol dir="auto">
<li>it appears that it at least partially ignores the configuration of the named task in the <code class="notranslate">tasks.json</code>. For example, if I have a task <code class="notranslate">watch:scss</code> with <code class="notranslate">"showOutput": "never"</code> there - running it manually doesn't invoke new tab with output, but if I also add it to <code class="notranslate">launch.json</code> via <code class="notranslate">"preLaunchTask": "watch:scss"</code> - it opens output every time I re/launch the app. However it seems that it does respect the <code class="notranslate">isWatching</code> flag, since it doesn't start the app until I terminate the task manually if the setting is false/omitted or it does start the app if the setting is set to true.</li>
<li>if the task is a persistent one (<code class="notranslate">"isWatching": true</code>) relaunching the app prompts me to terminate the already running one. And it doesn't start the app right away if I chose to terminate it in the prompt - I need to run it again. Which is annoying as hell as you can imagine. There should be an additional setting for either silently restarting the <code class="notranslate">preLaunchTask</code> or silently skip the task launch and assuming that the already running should run until the end of the current session. And/or there should be a default based on the either - in any case prompting is not an option.</li>
<li><code class="notranslate">preLaunchTask</code> is hardly present in the documentation at all. I think many more people would complain if they just knew that this option even exist...</li>
</ol>
<p dir="auto">thanks in advance.</p>