1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 03:20:23 +01:00
metamask-extension/development/beefy.js

20 lines
387 B
JavaScript
Raw Normal View History

2016-07-01 03:22:16 +02:00
const beefy = require('beefy')
const http = require('http')
const fs = require('fs')
const path = require('path')
const port = 8124
const handler = beefy({
entries: {'mocker.js': 'bundle.js'}
2016-07-01 03:22:16 +02:00
, cwd: __dirname
, live: true
, open: true
2016-07-01 03:22:16 +02:00
, quiet: false
, bundlerFlags: ['-t', 'brfs']
})
http.createServer(handler).listen(port)
console.log(`Now listening on port ${port}`)