-
Notifications
You must be signed in to change notification settings - Fork 12
ngTerminal
When you install Eclipse JEE distribution, it provides a Local Terminal
:
You can use Local Terminal
to consumes angular-cli (see angular-cli to know the prerequisites)
The only problem is that there is none interaction with your workspace. For instance when you execute ng new myproject
to generate an Angular2 project with angular-cli, at the end of this command, Eclipse workspace is not refreshed with the created project. To do that, ng new myproject
command must be interpreted and an Eclipse project must be created at the end of the command.
This idea was submitted to TM project which provides Local terminal (please vote), but by waiting for an answer, I have decided to provide a new Local Terminal (Interpreter)
:
At the end, refresh the created project
Start the Web Browser.
Please note that:
- you can use too ng launches do start server.
- if you wish to customize port, live reloading of server, you can do it with .ember-cli file.
Refresh the generated component, etc
Refresh the "dist" folder.
You can use too ng launches do do that.
If the use of terminal doesn't work (ex: doesn't create the Eclipse Project after a ng new), please create an issue here:
- by explaining what you try to do (ex: use of Angular2 Project wizard doesn't refresh the project).
- and adding Terminal trace in the issue.
To have terminal trace, you can open the View Terminal Debug
with Window / Show View / Other...
. After that when you generate an Angular2 Project with wizard (which opens a terminal), or you type command in terminal, the Terminal Debug
view should display terminal traces.