-
Notifications
You must be signed in to change notification settings - Fork 48
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
Wording #123
Wording #123
Changes from 5 commits
efa0bbf
99775fb
d8391da
d00fb1e
225c5b4
6bacf6f
a1438d2
0201f6f
ff85792
ab7340b
3140125
6fca6fe
1347065
75bfa74
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ Reload works in two different ways depending on if you're using it: | |
|
||
Once reload-server and reload-client are connected, the client side code opens a [WebSocket](https://en.wikipedia.org/wiki/WebSocket) to the server and waits for the WebSocket to close, once it closes, reload waits for the server to come back up (waiting for a socket on open event), once the socket opens we reload the page. | ||
|
||
Updating from version 2 from version 1 | ||
Updating to version 2 from version 1 | ||
--- | ||
|
||
Looking for a quick guide to updating reload to version 2? Please refer to our update section [below](#upgrading-to-version-2). | ||
|
@@ -109,7 +109,7 @@ server.listen(app.get('port'), function () { | |
<title>Reload Express Sample App</title> | ||
</head> | ||
<body> | ||
<h1>Reload Express Sample App</h1> | ||
<h1>Reload Express Sample App</h1> | ||
<!-- All you have to do is include the reload script and have it be on every page of your project --> | ||
<script src="/reload/reload.js"></script> | ||
</body> | ||
|
@@ -198,21 +198,22 @@ Usage: reload [options] | |
|
||
Options: | ||
|
||
-h, --help Output usage information | ||
-V, --version Output the version number | ||
-b, --browser Open in the browser automatically. | ||
-n, --hostname If -b flag is being used, this allows for custom hostnames. Defaults to localhost. | ||
-d, --dir [dir] The directory to serve up. Defaults to current dir. | ||
-e, --exts [extensions] Extensions separated by commas or pipes. Defaults to html,js,css. | ||
-p, --port [port] The port to bind to. Can be set with PORT env variable as well. Defaults to 8080 | ||
-s, --start-page [start-page] Specify a start page. Defaults to index.html. | ||
-v, --verbose Turns on logging on the server and client side. Defaults to false. | ||
-h, --help output usage information | ||
-V, --version output the version number | ||
-b, --browser Open in the browser automatically. | ||
-n, --hostname [hostname] If -b flag is being used, this allows for custom hostnames. Defaults to localhost. | ||
-d, --dir [dir] The directory to serve up. Defaults to current dir. | ||
-e, --exts [extensions] Extensions separated by commas or pipes. Defaults to html,js,css. | ||
-p, --port [port] The port to bind to. Can be set with PORT env variable as well. Defaults to 8080 | ||
-s, --start-page [start-page] Specify a start page. Defaults to index.html | ||
-v, --verbose [verbose] Turning on logging on the server and client side. Defaults to false | ||
|
||
``` | ||
|
||
License | ||
--- | ||
|
||
(MIT License) | ||
[(MIT License)](https://github.com/alallier/reload/blob/master/LICENSE) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Anyway to make this relative. Kind of like how I did here in the CHANGELOG There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed. See commit 6bacf6f There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should I make the link to the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice catch, yeah let's doing something with that. I don't know if you can make it relative? Try it out if not, the update from |
||
|
||
Copyright 2017 | ||
|
||
|
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.
What is the diff here?
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.
Lets try and keep this to just any problems in docs you see like the wording problem. We can spice up and add things at a later time, as I have more doc changes coming later anyways
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.
The main difference was adding
[verbose]
to the line 209, so that it looked exactly like the output fromreload -h
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.
Okay that sounds good, why the diff on 201 to 208?
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.
There isn't any difference. It might be because I am on linux and it is changing the line endings?
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.
I ran
reload -h
and copied the output straight from the terminal.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.
I see it's the spacing between the first and second columns that is different. This is good though, I like this because it is an exact copy of what
reload -h
provides.