Server start is very very long in dev mode

Hi,

Anybody know why the server (npm start) takes very long time to start ?

server log [13:49:49.838] [info][status][ui settings] Status changed from red to green - Ready
optmzr log [14:01:07.493] [info][optimize] Lazy optimization success in 745.49 seconds
optmzr log [14:01:12.777] [info][optimize] Lazy optimization started
optmzr log [14:02:03.768] [info][optimize] Lazy optimization success in 50.99 seconds
optmzr log [14:08:33.800] [info][optimize] Lazy optimization started

Working with the simple guide : https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md
OS : Linux Ubuntu 16

I tried optimize.unsafeCache: false or optimize.unsafeCache: true : It doesn(t change anything.

Bye

Hi,
There is currently and open issue regarding this problem and it's actively worked on. You can follow it here:

OK, I found some parameters to put in the kibana.dev.yml, the server starts now in 10 seconds...

optimize:
  sourceMaps: '#cheap-source-map'
  unsafeCache: false
  lazyPrebuild: true

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.