source: trip-planner-front/node_modules/karma/lib/detached.js@ 59329aa

Last change on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 316 bytes
Line 
1'use strict'
2
3const fs = require('fs')
4
5const Server = require('./server')
6const configurationFile = process.argv[2]
7const fileContents = fs.readFileSync(configurationFile, 'utf-8')
8fs.unlink(configurationFile, function () {})
9const data = JSON.parse(fileContents)
10const server = new Server(data)
11server.start(data)
Note: See TracBrowser for help on using the repository browser.