[Haskell-cafe] two HLS processes with same name

Dennis Raddle dennis.raddle at gmail.com
Mon Oct 2 01:15:58 UTC 2023


When I don't open that extra file, the one time I tested it, there was now
only one hls process, so I guess that was it! Easy to fix then.
D


On Sat, Sep 30, 2023 at 3:09 PM Jeff Clites <jclites at mac.com> wrote:

> Stack treats files outside a project as being in a default project (or at
> least, `stack ghci` sessions outside a project are treated that way), so
> that might be it.
>
> Jeff
>
> On Sep 30, 2023, at 6:01 PM, Dennis Raddle <dennis.raddle at gmail.com>
> wrote:
>
> 
> Thanks, Tom. I only have one stack project open, but I do have a single hs
> file open from outside that project, usually. That single hs file does not
> reside in a stack project tree. I'll try running VS Code with and without
> that single hs file.
>
> D
>
>
>
> On Sat, Sep 30, 2023 at 1:56 AM Tom Ellis <
> tom-lists-haskell-cafe-2023 at jaguarpaw.co.uk> wrote:
>
>> On Sat, Sep 30, 2023 at 01:51:01AM -0700, Dennis Raddle wrote:
>> > When I first run VS Code on a Haskell workspace, there is one
>> > process called "haskell-language-server-9.2.8".  Eventually another
>> > process, taking an additional 1 GB, joins it. The two processes have
>> > the same name.
>> >
>> > Is it supposed to work like this?
>>
>> I use Emacs, not VS Code, but when I have two
>> "haskell-language-server" processes it's because I have opened a
>> second project.  Is it possible that's happened for you?
>>
>> For a hacky way to explore what's going on you could kill one of the
>> processes and see what complains.
>>
>> Tom
>> _______________________________________________
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>> Only members subscribed via the mailman list are allowed to post.
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20231001/e17c9294/attachment.html>


More information about the Haskell-Cafe mailing list