Electron WebView preload only works at first time


#1

Using the webview as following code:

If you change the src in your javascript code, preload defined javascript file won’t be loaded again.

Please help to give me some tips, thanks!