mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
335 B
JavaScript
16 lines
335 B
JavaScript
#!/usr/bin/env node
|
|
|
|
try {
|
|
require('./newrelic')
|
|
require('newrelic')
|
|
} catch (ex) {
|
|
// Don't load New Relic if the configuration file doesn't exist.
|
|
}
|
|
|
|
require('babel/register')({
|
|
only: new RegExp(__dirname + '/lib' + '|' +
|
|
__dirname + '/node_modules/filepizza')
|
|
})
|
|
|
|
module.exports = require('./lib/server')
|