dev_server should be in tw2.devtools

Issue #87 resolved
Tom Willis
created an issue

it seems out of place in core and requires things that are not immediately part of the dependencies declared in setup.py.

I would go further and propose that maybe dev_server return an app that the user can serve in a separate function, that way at least the bulk of that can be unit tested easily.

Comments (3)

  1. paj repo owner

    make_middleware is the separate function to return the app.

    I agree dev_server would be best moved to tw2.devtools. Make sure you update the docs and tutorials to match,

  2. Log in to comment