angular-klingon / klingon

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

Prepopulate the Project Root directory field with a 'default' value #82

Closed manekinekko closed 5 years ago

manekinekko commented 5 years ago

Describe the solution you'd like We could prepopulate the Project Root directory field in the UI with the current directory allocated to the server (ie, process.cwd()), another value (maybe from config?).

This can prevent issue #81

@sumitparakh what do you think?

sumitparakh commented 5 years ago

Describe the solution you'd like We could prepopulate the Project Root directory field in the UI with the current directory allocated to the server (ie, process.cwd()), another value (maybe from config?).

This can prevent issue #81

@sumitparakh what do you think?

prepopulating from current directory(default) is a good idea. I think populating a filesystem path from config would not be OS independent. What do you think? linux & windows both have different filesystem path patterns.