Merge pull request #1157 from ethereum/remixonnpm
Fix deploy build folder to npm packagepull/1/head
commit
33dee0985a
@ -0,0 +1,7 @@ |
||||
.vscode |
||||
node_modules |
||||
reports |
||||
npm-debug.log* |
||||
package-lock.json |
||||
remix |
||||
.DS_Store |
@ -1,10 +1,14 @@ |
||||
#!/usr/bin/env node |
||||
var httpServer = require('http-server') |
||||
var remixd = require('remixd') |
||||
|
||||
var server = httpServer.createServer({ |
||||
root: __dirname + '/../' |
||||
}); |
||||
}) |
||||
|
||||
console.log('\x1b[33m%s\x1b[0m', 'Starting Remix IDE at http://localhost:8080') |
||||
|
||||
server.listen(8080, '127.0.0.1', function () {}); |
||||
server.listen(8080, '127.0.0.1', function () {}) |
||||
var router = new remixd.Router() |
||||
router.start(__dirname) |
||||
|
||||
|
Loading…
Reference in new issue