angular-klingon / klingon

Angular Klingon: The UI companion for the @angular/cli
https://angular.run
MIT License
189 stars 19 forks source link

Bug: the server crashes if the root directory doesn't exist #81

Closed manekinekko closed 5 years ago

manekinekko commented 5 years ago

Describe the bug The server crashes if the provided root directory doesn't exist.

To Reproduce Steps to reproduce the behavior:

  1. Go to the New tab
  2. Fill in the 'Project root directory' with an invalid directory
  3. Click on Create or Dry-run
  4. See the error on the server
  5. Plus, the UI does not detect the error.

Expected behavior

  1. The UI should detect that the server has crashed.
  2. If the provided root directory is not present, it should be created

Screenshots image