nl_tokens: / * 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 () .
pl_tokens: function listen ( ) { if ( state . listening ) return EjsElectron // already listening; nothing to do here protocol . interceptBufferProtocol ( 'file' , protocolListener ) state . listening = <mask> return EjsElectron // for chaining }