Skip to content

Instantly share code, notes, and snippets.

@neko-fire
Created August 16, 2016 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neko-fire/6372ab712640ae7e0d5242fdf92c5e0b to your computer and use it in GitHub Desktop.
Save neko-fire/6372ab712640ae7e0d5242fdf92c5e0b to your computer and use it in GitHub Desktop.
adding timestamp to webpack --watch
// add this to webpack config in plugin section
plugins: [
function() {
this.plugin('watch-run', function(watching, callback) {
console.log('Begin compile at ' + new Date());
callback();
})
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment