
Chromium flicker issue
----------------------

This appears to be GPU related.

package.json:
	"chromium-args": "--disable-gpu-compositing",

This will fix the issue temporarily, but still need a better solution.



Remote debugging via DevTools
-----------------------------

Set this in package.json:
  "chromium-args": "--remote-debugging-port=9222",

Then open http://localhost:9222 in chrome.
	


Sharp
-----

To build sharp for a specific version of node:
	cd ./node_modules/sharp/
	node-gyp --target=v5.7.0 rebuild	# v5.7.0 is the version 
						# of node used in nw.js


Speedup loading of app
----------------------

One of the ways to speed up the load times when packed is to store Node's
modules ./node_modules in a speporate loaction, outside of the the app.zip
or package.nw
To enable require(..) to find them:
	- > npm install --save app-module-path
	- when building the zip move all the modules out to a new location
	  *except* app-module-path
	- add this line to all root js modules *before* any other 
	  require(..) is called:
	  	if(process.__nwjs){
			var path = require('path')
			require('app-module-path')
				.addPath(path.dirname(process.execPath) 
					+ '/node_modules/')
		}




