add 'NProgress.queueWorker'
add 'NProgress.queueWorker'

It solved the problem that occur if you repeat the NProgress.start() and NProgress.done()
GerHobbelt/nprogress,GerHobbelt/nprogress,GerHobbelt/nprogress