broccolijs / broccoli

Browser compilation library – an asset pipeline for applications that run in the browser
https://broccoli.build
MIT License
3.33k stars 217 forks source link

[feature] be able to serve middleware without waiting for current build to complete #462

Open gabrielcsapo opened 4 years ago

gabrielcsapo commented 4 years ago

I am currently working on a plugin to visualize an app's build life cycle (https://github.com/gabrielcsapo/broccoli-inspector). In order to get the inspector to serve while the build is running it is import to change https://github.com/broccolijs/broccoli/blob/cbc6c4a53867b5cf4c2107df8202729579fd62a9/lib/middleware.ts#L149 to be able to serve middleware while the currentBuild is running.