Open aCyborg opened 8 years ago
I'm seeing this on a new vagrant box. Any workarounds that you've come up with?
Specifically, butler doesn't seem to watch files on vagrant and needs to be killed when code is updated (possibly related or maybe different issue). Once the process is killed, npm run butler
gives the following error:
Error: Command failed: /bin/sh -c ../../vendor/bin/sculpin generate --watch --server --project-dir="../../styleguide/"
[React\Socket\ConnectionException]
Could not bind to tcp://0.0.0.0:8000: Address already in use
@froboy you might try checking who's using the port? I think this should give you a pid:
fuser -n tcp 8000
@labbydev helped resolve this. We added the kill command and then removed it and everything was fine.
We think it needs and if statement, but it breaks if you run it on vagrant