Commit 364550b0 authored by yann300's avatar yann300

fix remixd launch

parent 515e35ef
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
set -e set -e
setupRemixd () { setupRemixd () {
npm install remixd
mkdir remixdSharedfolder mkdir remixdSharedfolder
cd remixdSharedfolder cd remixdSharedfolder
echo "contract test1 { function get () returns (uint) { return 8; }}" > contract1.sol echo "contract test1 { function get () returns (uint) { return 8; }}" > contract1.sol
...@@ -15,7 +14,7 @@ setupRemixd () { ...@@ -15,7 +14,7 @@ setupRemixd () {
cd .. cd ..
echo 'sharing folder: ' echo 'sharing folder: '
echo $PWD echo $PWD
./../node_modules/.bin/remixd -S $PWD & node ../node_modules/remixd/src/main.js -s $PWD &
cd .. cd ..
} }
......
...@@ -54,7 +54,7 @@ module.exports = class SharedFolder { ...@@ -54,7 +54,7 @@ module.exports = class SharedFolder {
this.remixd = remixapi(remixd, this) this.remixd = remixapi(remixd, this)
this.type = 'localhost' this.type = 'localhost'
this.error = { 'EEXIST': 'File already exists' } this.error = { 'EEXIST': 'File already exists' }
this._isReady = true this._isReady = false
this.filesContent = {} this.filesContent = {}
remixd.event.register('notified', (data) => { remixd.event.register('notified', (data) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment