-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
hls does not detect new dependencies added to packages.yml #775
Comments
You can do "Restart extension host" to reload just the extensions, which is a bit less violent. Agreed that auto-reloading the right pieces would be desirable - I guess this is a |
I think that the stack cradle is watching for changes to |
That was my understanding as well, but it doesn't. |
Is the project structure different to a basic |
It is a stack project with multiple projects (in subdirectories), and one of the project is a classic component defined by a package.yaml The hie.yaml defines multiple cradles for the projects, and the concerned cradle has a standard config (stack component) |
Maybe that is the problem, the dependencies ought to be relative to the |
We actually need both, the dependencies could be relative to the
We need to reload both components in case of change to A proposed solution: |
@fendor can this ticket be closed now? |
Recently this issue was noted in the irc channel by an user so i guess this is still an issue.
|
I can confirm the issue still happens, I often restart the HLS manually. |
i think we can close it as duplicate of #1068 |
Bug description
I'm using VS Code, with the ghcide extension.
When adding a package dependency to the package.yaml, I have to reload to entire VS Code window to restart ghcide to detect and load this new dependency in ghcide.
Desired behaviour
ghcide should reload the dependencies when packages.yaml is updated, so that I don't have to restart it manually.
Version
using Remote SSH extension for VS Code
vscode client on Windows 10
vscode server on NixOS 20.03
I use the ghcide-nix derivation to get GHCIDE (version was recently bumped there)
The text was updated successfully, but these errors were encountered: