I develop plugins for Kibana 5.5.0. Some of them uses libraries published as node modules. When I make a change inside a module I need to restart the Kibana server in order to rerun the lazy optimize step and to package my plugin using the newly modified module. The problem is that the the lazy optimize is executed again for all the bundles (kibana, stateSessionStorageRedirect, timelion, sense-tests, status_page, etc) and the process last ~40s. It is possible to preserve bundles between server restarts and to rebuild just a required bundle?
I have tried using optimize.bundleFilter but it seems that it does not preserve the old bundle files.