Also, this necessitates a non backwards-compatible change within the LiveReload initializers. This should be fine and also allows for the removal of some duplicate code.
Here is an example of how one could apply a custom request predicate. Response predicates are applied the same way but using the response_predicate function on LiveReloadLayer.
Also, this necessitates a non backwards-compatible change within the
LiveReload
initializers. This should be fine and also allows for the removal of some duplicate code.Here is an example of how one could apply a custom request predicate. Response predicates are applied the same way but using the
response_predicate
function onLiveReloadLayer
.@wrapperup you can test if this code works for your use-case. Any feedback is appreciated!
Would close #2