put server assets in subfolder

This commit is contained in:
Rich Harris
2018-10-01 15:21:35 -04:00
parent 0826a58995
commit d9ad1d1b10
3 changed files with 7 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ prog.command('build [dest]')
process.env.PORT = process.env.PORT || ${opts.port || 3000};
console.log('Starting server on port ' + process.env.PORT);
require('./server.js');
require('./server');
`.replace(/^\t+/gm, '').trim());
console.error(`\n> Finished in ${elapsed(start)}. Type ${colors.bold.cyan(`node ${dest}`)} to run the app.`);