Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass errors break rerunning Butler #39

Open
patrickfweston opened this issue Jun 24, 2016 · 1 comment
Open

Sass errors break rerunning Butler #39

patrickfweston opened this issue Jun 24, 2016 · 1 comment

Comments

@patrickfweston
Copy link
Contributor

patrickfweston commented Jun 24, 2016

When you encounter certain Sass errors, Butler is halted. Rerunning Butler throws an error because the port (8000) is occupied. I believe the former process never lets go of the port.

The only fix so far is restarting Vagrant and then running Butler.

Error thrown when trying to rerun Butler:

events.js:85
      throw er; // Unhandled 'error' event
            ^
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  
@patrickfweston
Copy link
Contributor Author

patrickfweston commented Jan 12, 2017

To get around the problem:

  • Run ps -fC php to find the PID of the running process
  • Run kill <pid> using the PID from the previous step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant