-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
Added http-server
script
#971
Conversation
@ankur12-1610 Thank you for this PR. I tested by running Regarding your suggestion to update the documentation, I think that would be part of this PR, but should be done once the above question is tested. Finally, I'm not sure Perhaps |
b4f762b
to
228a74d
Compare
Hey @Jaifroid, I've tested it in MacOS and it works perfectly fine in it. I'll it in try other operating systems as well. Regarding the dependency, we already have included Also, updated the PR now it is The only final step left is verification :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ankur12-1610 Thank you, this looks good. I tested launching the server also, and it seems to work fine.
Do you know whether http-server gets installed if a user hasn't installed it globally? You had originally mentioned perhaps needing to run it with npx. I wasn't able to test this because I have it installed globally.
I have one suggestions below. You can use the GitHub buttons to commit the suggestion if you think it's OK.
Yeah I tested it without installing http-server globally in a new environment, npm install does the work for the user so using npx isn't necessary. Sure I'll do it👍 |
Co-authored-by: Jaifroid <[email protected]>
Great! So I think this can be squashed and merged. Just confirm that it's ready and I'll press the button (I assume you don't have access to the Squash and merge button on this page). |
Yeah LGTM! as well. Yeah I don't have access to squash and merge, although I do have an access to close PR xD |
Fixes: #969