phoenixframework / phoenix

Peace of mind from prototype to production
https://www.phoenixframework.org
MIT License
21.46k stars 2.88k forks source link

`phx new --install .` yields project where the tailwind css lsp does not work #5967

Closed multivac61 closed 2 weeks ago

multivac61 commented 2 weeks ago

Environment

Elixir 1.17.3 (compiled with Erlang/OTP 25)

* Phoenix version (mix deps): 

* Operating system: macOS

### Actual behavior

No tailwindlsp working 

### Expected behavior

tailwindcss lsp in `phx new --install .` should work the same as `phx new --install hello && cd hello`

### Demonstration video

https://github.com/user-attachments/assets/f329fc9b-73fa-4ec3-8477-005a52183026

I meant VSCode and Zed 😅
multivac61 commented 2 weeks ago

Turns out this is not phx.new related, but rather related to devenv. My apologies.

multivac61 commented 2 weeks ago

Note: this issue goes away as soon as I remove .direnv/ and .devenv/ folders inside the repository root.

Fortunately we can instruct direnv to place its cache directories elsewhere. I'm working with the engineers at devenv to solve it there.