Closed hqjs closed 4 years ago
Yes, please note this in the project readme until it can be enabled on Windows. Also tried it in VSCode's WSL: Ubuntu mode and it doesn't work on that either, though the Go Live button at least appears.
There should be an easy to fix problem with vscode project structure on windows, but I don't have any windows machine to reproduce and fix it. Some help would be appreciated.
@hqjs I have VirtualBox with Windows 10 on board. Could possibly help you guys with it.
That would be great! PRs are welcome or even just some debugging will be extremely helpful.
On Tue, Jan 21, 2020 at 11:58 PM Maxim notifications@github.com wrote:
@hqjs https://github.com/hqjs I have VirtualBox with Window 10 on board. Could possibly help you guys with it.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hqjs/vscode-hq-live-server/issues/3?email_source=notifications&email_token=AKNUIQLJYIMNOOTAP6T4LEDQ65VYVA5CNFSM4I2BU6E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJRNKSI#issuecomment-576902473, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKNUIQI6KZ5SNOZUNUBX7R3Q65VYVANCNFSM4I2BU6EQ .
I have a windows machine I am looking forward to use the extension.
@mopsek can you please assist with debugging?
@hqjs if you need any help i will be happy to help
@Shirsendu-Bairagi thanks a lot! I guess there are two problems here:
hq
server itself is not very accurate while working with paths (using /
instead of path.separator
)I would be glad to fix all problems if only I know where to look so any debuggin information would be really helpful.
Ok i try to clone and debug your project....when i complete i will directly send it to @hqjs email.
@mopsek the problem seems to be here https://github.com/hqjs/vscode-hq-live-server/blob/ac466cf739b3b4f8f6d8c7c2be31b22f67f3b1ca/project-resolver.js#L8
Can you please provide some debug values for
workspaceFolders.map(project => `${project.uri.fsPath}/`);
activeFileName;
@mopsek the problem seems to be here
Can you please provide some debug values for
workspaceFolders.map(project => `${project.uri.fsPath}/`); activeFileName;
Sure.
Published as v0.0.7
Could not locate active project in windows.