webpack-contrib / webpack-canary

Canary tooling for checking webpack dependencies against specific webpack versions
MIT License
47 stars 11 forks source link

Update canary to successfully run most webpack dev server examples #13

Closed alistairjcbrown closed 7 years ago

alistairjcbrown commented 7 years ago

Update canary to run latest dev server release on latest webpack release. The config has been updated to try and run the latest v1 dev server on webpack v1, and latest masters of each.

Running this on travis should show if a) those work and b) if there are any setup issues with travis (port conflicts, etc.) which this branch should also aim to fix.

Update: Two issues which will not be fixed as part of this branch

  1. Use spawn over exec

    on Linux, child processes of child processes will not be terminated when attempting to kill their parent.

    This has lead to the dev server examples not being killed and hanging on to ports, failing future examples from even running.

  2. Dev server lazy load requires that the page be visited before executing. Page visiting (with JS execution) will need to be added to the example run if a URL is provided in the output.