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
+6-6
Original file line number
Diff line number
Diff line change
@@ -169,29 +169,29 @@ npm run build
169
169
170
170
4. Automatic browser reload using [BrowserSync](https://browsersync.io/)
171
171
172
-
- The setup assumes that you have a web server installed.
172
+
- The setup assumes that you have a web server (MAMP, XAMPP, etc) installed.
173
173
- If you wish to use a proxy in browsersync you can do it using the `url` CLI argument like this:
174
174
175
175
```sh
176
-
yarn start --url=http://your.app
176
+
yarn start --env url=http://your.app
177
177
```
178
178
179
179
or
180
180
181
181
```sh
182
-
npm start -- --url=http://your.app
182
+
npm start --env url=http://your.app
183
183
```
184
184
185
-
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.
185
+
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.
186
186
187
187
```sh
188
-
yarn start --server
188
+
yarn start --env server
189
189
```
190
190
191
191
or
192
192
193
193
```sh
194
-
npm start -- --server
194
+
npm start --env server
195
195
```
196
196
197
197
5. Images optimization using [Optisize](https://github.com/three11/optisize)
0 commit comments