Richard Scarrott

Results 78 comments of Richard Scarrott

```ts const trimmed = create( (value) => typeof value === "string" && value === value.trim() )("Expected trimmed string"); ```

```ts const any = create(() => true)('Expected any'); ``` Could be useful when using `array` and `object`, e.g. ```ts // Don't really care what's in the `errors` array or `headers`...

Additionally, current master has this ```ts import * as parser from "ok-computer/dist/cjs/parser"; ``` Instead of ```ts import * as p from "ok-computer/parser"; ```

@kyusu good catch... it also looks like `history` is undefined. There doesn't appear to be much in the way of documentation for `renderProps` in the RR repo but I'm guessing...

@faceyspacey I've used 'source-map' in the [`webpack-hot-server-middleware` example](https://github.com/60frames/webpack-hot-server-middleware/blob/0.1.0/example/webpack.config.js) and 'eval' in [this boilerplate](https://github.com/60frames/react-boilerplate/blob/master/tasks/build/webpackConfig.js#L21), both are working for me. Not tried with the latest Webpack however, is this still an issue...

Also, 'inline-cheap-module-source-map' should work -- https://github.com/60frames/webpack-hot-server-middleware/pull/15

Blocked: `webpack-dev-middleware` doesn't support multi compilers with two different outputPaths.

@monteiz I recently implemented webpack-hot-server-middleware on another project where the api was reasonably substantial so we needed live reload. The only solution I found was to use nodemon on the...

https://github.com/richardscarrott/ok-computer/pull/26

https://github.com/richardscarrott/ok-computer/pull/29