track dependencies even if error occur
track dependencies even if error occur

fixes #1975

merged #1985

ianwcarlson/webpack,ianwcarlson/webpack,rlugojr/webpack,rlugojr/webpack,pugnascotia/webpack,jamestautges/webpack,halfzebra/webpack,jescalan/webpack,mishk0/webpack,webpack/webpack,jamestautges/webpack,SimenB/webpack,cesarandreu/webpack,NekR/webpack,rlugojr/webpack,ts-webpack/webpack,cesarandreu/webpack,g0ddish/webpack,nkzawa/webpack,SimenB/webpack,webpack/webpack,pugnascotia/webpack,g0ddish/webpack,webpack/webpack,halfzebra/webpack,SimenB/webpack,EliteScientist/webpack,jescalan/webpack,jescalan/webpack,halfzebra/webpack,NekR/webpack,EliteScientist/webpack,webpack/webpack,mishk0/webpack,SimenB/webpack,nkzawa/webpack,nkzawa/webpack,pugnascotia/webpack,ts-webpack/webpack,sdawson/webpack,ts-webpack/webpack,g0ddish/webpack,cesarandreu/webpack,ts-webpack/webpack,sdawson/webpack