Last active
May 18, 2019 14:43
-
-
Save seanpmaxwell/c7536a2b05f28aedfcd4074e436c1f29 to your computer and use it in GitHub Desktop.
TypeScriptFullStackShell/start.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import DemoServer from './DemoServer'; | |
| // Start the server or run tests | |
| if (process.argv[2] !== 'test') { | |
| let server = new DemoServer(); | |
| server.start(); | |
| } else { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment