how to restart nwjs -node-webkit- app from javascript

there are some settings dialog after user update app settings, app needs to restart to make those changes effective
i.e user settings will not work untill app is restarted as my app starting point is in js file not html file, so window.location.reload() dont work for me.
APP RESTART JS API

Submitted by sunil On Saturday, 06 May 2017.
Category: Node-Webkit

[RESOLVED]

0
1 Answers.
 
Super User
crooker

Re:how to restart nwjs -node-webkit- app from javascript

try from html file's javascript
chrome.runtime.reload();
Submitted by Super User On Saturday, 06 May 2017
0
This Answer has been Chosen as Best Answer
Question is marked as resolved.