Closed sumitparakh closed 5 years ago
Describe the bug Getting Location workspace file ('angular.json') could not be found while trying to serve application
Screenshots
Additional context Problem is, everytime it is trying to serve application from home directory where app doesn't exist. Hence command fails.
Proposed Solution There should be an option to specify root dir in serve tab and make application field mandatory. Once user enter root dir and application name, we can pass it as current working directory to the cli command. Note msg.dir here:- https://github.com/angular-klingon/klingon/blob/master/packages/klingon-server/terminal.js#L60
Related to #6
Describe the bug Getting Location workspace file ('angular.json') could not be found while trying to serve application
Screenshots
Additional context Problem is, everytime it is trying to serve application from home directory where app doesn't exist. Hence command fails.
Proposed Solution There should be an option to specify root dir in serve tab and make application field mandatory. Once user enter root dir and application name, we can pass it as current working directory to the cli command. Note msg.dir here:- https://github.com/angular-klingon/klingon/blob/master/packages/klingon-server/terminal.js#L60
Related to #6