Skip to content

Instantly share code, notes, and snippets.

@jkusachi

jkusachi/HMR Regex

Last active Sep 13, 2017
Embed
What would you like to do?
help filter out noise in chrome dev tools when using hot module reload n stuff
// hide HMR and GET
/^((?!HMR|GET).)*$/
// Hide Warnings
/^((?!warning).)*$/
// Hide all
/^((?!warning|HMR|GET).)*$/
// wrap regex in / / if using Canary
ie:
/^((?!warning).)*$/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.