We have an app generating with Angular CLI. We are using version 1.0.0-beta.26 – the latest available at the time of creating this post, the end of January 2017. Please note that Angular CLI is still in beta – new versions are released often and they might introduce some breaking changes.
npm startto get the app running in the development mode.
You can do this either in the terminal or by double-clicking the task in the npm tool window in WebStorm.
- Wait till the app is compiled and the Webpack dev server is ready. Open http://localhost:4200/ to view it in browser.
Note that when the dev server is running, the app will automatically reload if you change any of the source files.
In WebStorm 2017.1 (now available under the Early Access Preview)
No additional configuration is needed: save the configuration and you’re ready to go.