Skip to content
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

Allow using different port #27

Open
dufferzafar opened this issue Nov 8, 2021 · 1 comment
Open

Allow using different port #27

dufferzafar opened this issue Nov 8, 2021 · 1 comment

Comments

@dufferzafar
Copy link

Currently port is hardcoded to 5600. Add a setting for the same.

Similar to ActivityWatch/aw-watcher-web#79

@dufferzafar
Copy link
Author

I installed the extension from VSCode Marketplace then went ahead and made the changes in the VScode extension directory:

$ pwd
C:\Users\duffe\.vscode-insiders\extensions\activitywatch.aw-watcher-vscode-0.5.0

$ rg -uu 5700
out\aw-client-js\src\aw-client.js
20:            const port = !options.testing ? 5700 : 5666;

And it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant