Closed pcarbonn closed 6 years ago
This is now supported in version 0.5.4
by overriding the configuration variable haskelly.buttons.stackBuildParams
to include --file-watch
(so --fast --file-watch
). This can be changed in the Preferences -> Settings.
Many thanks !
Please note that the exact configuration parameter should be --fast --file-watch --exec myproject
, where myproject is the name of my executable.
Unfortunately, this creates a full build, and so it is not very fast. I'm going to use ghcid instead.
Yes you are right, my suggested params would only build, not run on-save. ghcid seems a good solution!
It would be great to run my Haskell program immediately on Save, in the REPL. Can that be done ?