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
+3-11Lines changed: 3 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -20,17 +20,7 @@ All functions are compiled with webpack using the Babel Loader, so you can use m
20
20
21
21
Before developing, clone the repository and run `yarn` from the root of the repo to install all dependencies.
22
22
23
-
### Option 1: Starting both servers at once
24
-
25
-
Most people should be able to get up and running just by running:
26
-
27
-
```bash
28
-
yarn start
29
-
```
30
-
31
-
This uses [npm-run-all](https://github.com/mysticatea/npm-run-all#readme) to run the functions dev server and app dev server concurrently.
32
-
33
-
### Option 2: Start each server individually
23
+
### Start each server individually
34
24
35
25
**Run the functions dev server**
36
26
@@ -56,6 +46,8 @@ This will start the normal create-react-app dev server and open your app at `htt
56
46
57
47
Local in-app requests to the relative path `/.netlify/functions/*` will automatically be proxied to the local functions dev server.
58
48
49
+
> Note: You can also use [npm-run-all](https://github.com/mysticatea/npm-run-all#readme) to run the functions dev server and app dev server concurrently. Note that you don't need this if you use [`netlify dev`](https://github.com/netlify/netlify-dev-plugin/) as [function builder detection](https://www.netlify.com/blog/2019/04/24/zero-config-yet-technology-agnostic-how-netlify-dev-detectors-work/) does that for you.
0 commit comments