micro-dev: Parsing json hangs

I had been using micro perfectly fine locally, but then decided to use micro-dev for local development, but it won’t parse the json body of my requests anymore :\ I’m sending the requests via postman. Not sure what’s different or if I missed something in the docs/setup. (I didn’t change source code at all).

Gist of code

The important part of my gist is index.ts, and the function waitForEmail line 75

Versions Node: 8.4.0 and 8.5.0 NPM: 5.3.0 and 5.4.2 OS: WIndows 10 Pro and Ubuntu (WSL); both 64bit

(package.json given in gist, shows latest versions of micro and micro-dev).

Thanks for reading!

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

There are a couple PRs with no comments or indication that they’ll be merged. Where’s the incentive?

@maccyber I think the real problem here is that logRequest does not share same request body cache with loaded micro instance.

Pull requests are welcome btw 🤞

Any plans on tending to this issue?

Time for a fork!