haskelly-dev / Haskelly

Haskelly is a VS Code extension that provides complete support for casual and expert Haskell development.
https://marketplace.visualstudio.com/items?itemName=UCL.haskelly
GNU General Public License v3.0
152 stars 17 forks source link

stack run with file-watch? #53

Closed coodoo closed 6 years ago

coodoo commented 7 years ago

Is it possible to make the Stack Run button run following command?

stack build --fast --file-watch

So that it keeps on watching for file changes and report errors?

martrik commented 7 years ago

Wouldn't that be in the Stack Build button? In any case, what do you think of a configuration variable that allows you to add flags to the default commands for each of the Stack buttons?

coodoo commented 7 years ago

Having configuration variables would be great, that was actually the first thing I looked into :)

martrik commented 6 years ago

This has been implemented in version 0.5.4 thanks to a configuration variable haskelly.buttons.stackBuildParams. We hope it helps!