Added more explicit instructions for BrowserSync.
http vs no http more consistent.
This commit is contained in:
19
README.md
19
README.md
@@ -83,8 +83,27 @@ You now have all the necessary dependencies to run the build process.
|
||||
* `gulp watch` — Compile assets when file changes are made
|
||||
* `gulp --production` — Compile assets for production (no source maps).
|
||||
|
||||
### Using BrowserSync
|
||||
|
||||
To use BrowserSync during `gulp watch` you need update `devUrl` at the bottom of `assets/manifest.json` to reflect your local development hostname.
|
||||
|
||||
For example, if your local development URL is `http://project-name.dev` you would update the file to read:
|
||||
```json
|
||||
...
|
||||
"config": {
|
||||
"devUrl": "http://project-name.dev"
|
||||
}
|
||||
...
|
||||
```
|
||||
If your local develoment URL looks like `http://localhost:8888/project-name/` you would update the file to read:
|
||||
```json
|
||||
...
|
||||
"config": {
|
||||
"devUrl": "http://localhost:8888/project-name/"
|
||||
}
|
||||
...
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
Sage documentation is available at [https://roots.io/sage/docs/](https://roots.io/sage/docs/).
|
||||
|
||||
Reference in New Issue
Block a user