-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I was perusing through the BrowserSync code, checking for why middleware don't activate when in serve-static mode. I think I found the answer: there is an undocumented optional switch in each item in the array of middleware that are added with the middleware option, called "override", that determines whether the middleware comes before or after the built-in middleware. I just tested and this works.
Could this amazing functionality be better documented, so no one else has to spend time looking for it like me?
shakyShane
Metadata
Metadata
Assignees
Labels
No labels