Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Execute callbacks once but don't remove them #17

Merged
merged 1 commit into from
Feb 19, 2017

Commits on Feb 9, 2017

  1. Execute callbacks once but don't remove them

    Some webpack plugins (at least webpack-dev-middleware) rely
    on the plugin callback array not being modified.
    
    Instead of unhooking the listener when the browser has been opened,
    simply perform a no-op after the first function call. This avoids
    having to mutate the callback array while still maintaining the old
    behaviour.
    
    Fixes baldore#9
    Fixes baldore#11
    Paul LeMarquand committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    c45e8a2 View commit details
    Browse the repository at this point in the history