-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Description
Thanks for this great extension ✨
The Usecase
Working on a monorepo that has multiple packages inside, i usually open the root of the repo alongside some packages inside, as a multi-root workspace.
The Issue
The extension always picks the outermost workspace folder (the root) to run the server on it which results ignoring nested packages configurations although they are separate apps with seperate configs, right here :
https://github.com/bradlc/vscode-tailwindcss/blob/44131edd936272557548622e6751396b7b59b821/src/extension.ts#L172-L173
The Solution
- Temporarily i excluded the root workspace folder and the extension works fine 👍🏼
- I tried on finding the reason for selecting the outermost workspace folder as the convenient server folder, i couldn't (may you clarify please, thanks)
- Am wondering if the convention of selecting the server folder would be The first folder having tailwind config file while searching up for the outer most workspace folder, i think this solution wouldn't break any current uses for the extention
Thanks.
Metadata
Metadata
Assignees
Labels
No labels