7 Commits
Author SHA1 Message Date
Kacper Wiszczuk 48136adfb8 v4.9.0 2020-05-18 16:25:48 +02:00
Ville ImmonenandKacper Wiszczuk 2c08a8254c refactor: use the cli-server-api package (#1140)
* refactor: use the cli-server-api package

* Rename `server` folder to `start`

* Fix debugger always opening

Co-authored-by: Kacper Wiszczuk <[email protected]>
2020-05-08 11:33:48 +02:00
Ville Immonen e65a7a870f fix: read request body for Metro symbolication (#1147)
Metro `/symbolicate` endpoint requires the request body to be available
in `req.rawBody`, which the `rawBodyMiddleware` adds.

Fixes the following error from `cli-server-api`:
    SyntaxError: Unexpected token u in JSON at position 0
        at JSON.parse (<anonymous>)
        at /Users/ville/Projects/react-native-cli/node_modules/metro/src/Server.js:1026:28
2020-04-30 16:05:30 +02:00
Ville Immonen 34a607eaa1 chore: publish cli-server-api types (#1138) 2020-04-27 10:34:52 +02:00
Ville Immonen 5c83d59bb4 refactor: make watchFolders read-only everywhere (#1132) 2020-04-25 15:34:51 +02:00
Michał Pierzchała 65aaa0a113 v4.8.0 2020-04-24 18:53:10 +02:00
Ville Immonen 85b395ffe3 feat: add a programmatic dev server API (#1118) 2020-04-24 18:45:49 +02:00