A
A
a1en_yeah2017-08-22 11:20:45
Angular
a1en_yeah, 2017-08-22 11:20:45

Building Angular CLI and Express with livereload and on the same port, by what means is this possible?

I start working on an existing project, and I completely redo the client on the latest Angular, and for the second day I can’t figure out how it is possible to organize the work of these technologies on one port (due to the security settings of a third-party server for authentication), and with automatic rebuilding in the development process ?
All I found was using a proxy, and sequentially compiling the client side and starting the server. In the first case, this does not change anything, 2 parts are launched separately. in the second, there is no lifeload...
Completely lost in this zoo =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
a1en_yeah, 2017-08-23
@a1en_yeah

I was just stupid.
In the Angular CLI, the --watch option is available in the build script, which both watches and rebuilds part of the project. And the already assembled project can be run on the Express server and work without problems. =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question