Support for webpack watch mode