Skip to content
angelozerr edited this page Jun 30, 2016 · 5 revisions

Terminal

When you install Eclipse JEE distribution, it provides a Local Terminal:

Terminal Toolbar

You can use Local Terminal to consumes angular-cli (see angular-cli to know the prerequisites)

Local Terminal

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):

Local Terminal Interpreter Dialog.png

ng new

At the end, refresh the created project

ng New

ng serve

Start the Web Browser.

ng Serve

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.

ng generate

Refresh the generated component, etc

ng build

Refresh the "dist" folder.

You can use too ng launches do do that.

Clone this wiki locally