As adding stack support to ghc-mod at ghc-mod/pull/549, we find that it would be helpful to have a command stack configure which should be similar to cabal configure. So that when the cabal file changes, the setup files can be updated without compile the project again :)
BTW: Locking messages at src/main/Main.hs#L586-L587 are printed to stdout and confuse us when using stack path. It would be nice to print them to stderr or add a '--quiet' option.