Sometimes when starting webpack in view and editing source files, Iām not sure if webpack has packaged my changes or not.
Is there a way to print the timestamp on the console every time webpack updates the package?
you can add a custom plugin, for example:
config.plugins.push(function(){ this.plugin('done', function(stats) { console.log(('\n[' + new Date().toLocaleString() + ']') + ' Begin a new compilation.\n'); }); });
Install webpack-watch-time-plugin .
Displays the recovery time of the observer recovery.
Source: https://habr.com/ru/post/1667051/More articles:CakePHP 3 Associations remove - phpReact native - ios device won't connect to debugger? - iosBatch Normalization - Tensor - tensorflowGNU Parallel: split file into children - bashHow to install QtWebEngine on Ubuntu 14.04 as a developer dependency? - linuxAngular2 CustomReuseStrategy creates a new instance of the component when routing with parameters - angularrails 2.3.0 - undefined `activate_bin_path 'method for Gem: Module (NoMethodError) - ruby-on-railsHow can I extract duplicate tuples from a list in Python? - pythonRuby: rake: 22: undefined `activate_bin_path 'method for Gem: Module (NoMethodError) - ruby āā| fooobar.comWhy does the GHC emit the wrong warning about excessive restriction? - haskellAll Articles