You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.
you can invoke immediately for server.js like this :
'use strict';constGlue=require('glue');constManifest=require('./manifest');process.on('unhandledRejection',(reason,promise)=>{console.error(`Unhandled Rejection at: ${promise} reason: ${reason}`);});constmain=(asyncfunction(){constoptions={relativeTo: __dirname};constserver=awaitGlue.compose(Manifest.get('/'),options);awaitserver.start();console.log(`Server started on port ${Manifest.get('/server/port')}`);})();
The text was updated successfully, but these errors were encountered:
(asyncfunction(){constoptions={relativeTo: __dirname};constserver=awaitGlue.compose(Manifest.get('/'),options);awaitserver.start();console.log(`Server started on port ${Manifest.get('/server/port')}`);})();
One might also elect to wrap main(); in a try/catch or handle it's promise like main().then(...).catch(...). I expect this to be customized per project.
frame/server.js
Line 23 in 3c87838
you can invoke immediately for server.js like this :
The text was updated successfully, but these errors were encountered: