function listen() {
	if (state.listening) return EjsElectron // already listening; nothing to do here

	protocol.interceptBufferProtocol('file', protocolListener)
	state.listening = true
	return EjsElectron // for chaining
}
function listen() {
	if (state.listening) return EjsElectron 

	protocol.interceptBufferProtocol('file', protocolListener)
	state.listening = true
	return EjsElectron 
}
function listen ( ) { if ( state . listening ) return EjsElectron // already listening; nothing to do here protocol . interceptBufferProtocol ( 'file' , protocolListener ) state . listening = true return EjsElectron // for chaining }
/*
EjsElectron.listen() -- Start intercepting requests on the 'file:' protocol, looking for '.ejs' files.
It is not necessary to call this function up-front, as ejs-electron starts listening as soon as it's loaded.
Use this only to start listening again after calling EjsElectron.stopListening().
/ * EjsElectron . listen () -- Start intercepting requests on the file : protocol looking for . ejs files . It is not necessary to call this function up - front as ejs - electron starts listening as soon as it s loaded . Use this only to start listening again after calling EjsElectron . stopListening () .