carymrobbins / intellij-haskforce

Haskell plugin for IntelliJ IDEA
http://carymrobbins.github.io/intellij-haskforce/
Apache License 2.0
486 stars 39 forks source link

Does not rebuild project after source files edited? #373

Open mouse07410 opened 5 years ago

mouse07410 commented 5 years ago

MacOS Mojave 10.14.2, IntelliJ IDEA 2018.3.3, this plugin provided by IntelliJ (possibly older than the current master).

I've created a (very simple) Haskell Stack project. First time it built it OK. First problem - when creating a Run configuration, it was unable to find the executable I just built. I've located where the binary was (down some seven layers of directories), and put it in manually. Then "Run" command worked.

Then I edited the source file a bit. The change was not picked up. The re-build does not happen, no matter what I do. And I seem unable to clean the project - there's no "Clean" command.

carymrobbins commented 5 years ago

In your run configuration, do you have "Build" listed in the "Before launch" section?

mouse07410 commented 5 years ago

In your run configuration, do you have "Build" listed in the "Before launch" section?

Oh yes - though I'm surprised that I cannot edit that part: screen shot 2019-01-11 at 18 29 22

It doesn't seem to be able to track files, nor to locate the built executable by itself - but if I manually type the full path to it, "Run" will execute it.