You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -166,29 +166,29 @@ npm run build
166
166
167
167
5. Automatic browser reload using [BrowserSync](https://browsersync.io/)
168
168
169
-
- The setup assumes that you have a web server installed.
170
-
- If you wish to use a proxy in browsersync you can do it using the `--url` CLI argument like this:
169
+
- The setup assumes that you have a web server (MAMP, XAMPP, etc) installed.
170
+
- If you wish to use a proxy in browsersync you can do it using the `url` CLI argument like this:
171
171
172
172
```sh
173
-
yarn start --url=http://your.app
173
+
yarn start --env url=http://your.app
174
174
```
175
175
176
176
or
177
177
178
178
```sh
179
-
npm start -- --url=http://your.app
179
+
npm start --env url=http://your.app
180
180
```
181
181
182
-
If you do not have a web server installed, then the files can be served via the browser-sync built-in server. In order to use this you need to pass a new CLI argument `--server` like this.
182
+
If you do not have a web server installed, then the files can be served via the browser-sync built-in server. In order to use this you need to pass a new CLI argument `server` like this.
183
183
184
184
```sh
185
-
yarn start --server
185
+
yarn start --env server
186
186
```
187
187
188
188
or
189
189
190
190
```sh
191
-
npm start -- --server
191
+
npm start --env server
192
192
```
193
193
194
194
6. Images optimization using [Optisize](https://github.com/three11/optisize)
0 commit comments