Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

chore: use localhost as hostname for docs.preview dev command #4357

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

davidmurdoch
Copy link
Member

This is just to make ganache development from WSL easier.

@@ -27,7 +27,7 @@
"scripts": {
"docs.build": "npx shx rm -rf ./lib/docs ./lib/api.json && npm run docs.typedoc",
"docs.typedoc": "typedoc --options ./typedoc.json --readme ./README.md --out ../../../../docs/typedoc --json ../../../../docs/typedoc/api.json src/api.ts",
"docs.preview": "ws --open --port 3010 --directory ../../../../docs",
"docs.preview": "ws --open --hostname localhost --port 3010 --directory ../../../../docs",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough - I don't use WSL, but trust that this does help :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha. 127.0.0 doesn't make it to wsl from windows by default, but localhost does.

@davidmurdoch davidmurdoch merged commit c6db3c3 into develop Apr 19, 2023
@davidmurdoch davidmurdoch deleted the improve-wsl branch April 19, 2023 17:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants