Skip to content

Extension should reload when cabal file changes #2150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hchmr opened this issue Aug 31, 2021 · 3 comments
Closed

Extension should reload when cabal file changes #2150

hchmr opened this issue Aug 31, 2021 · 3 comments
Labels
build tool: cabal type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@hchmr
Copy link

hchmr commented Aug 31, 2021

Whenever I tweak my cabal file (e.g. declare a module or add a dependency), I have to manually restart the server (using haskell.commands.restartServer). I was expecting the extension to detect any change to my cabal file and automatically restart the server. Would it be a good idea? How would it be implemented?

@jneira
Copy link
Member

jneira commented Aug 31, 2021

hi, thanks for reporting the issue, it was already reported in #1068 so I am gonna close it as duplicated if you don't mind
there you can read the possible fix (as it is supposed to work)

@hchmr
Copy link
Author

hchmr commented Aug 31, 2021

Great, Thanks! 😊

@jneira jneira transferred this issue from haskell/vscode-haskell Aug 31, 2021
@jneira jneira added build tool: cabal type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. labels Aug 31, 2021
@jneira
Copy link
Member

jneira commented Aug 31, 2021

Sorry the link was broken, i've moved the issue to the hls repo and it works now (#1068)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build tool: cabal type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

2 participants