I have a fairly large application (in terms of the number of components it has). It takes the application well over 5 minutes to compile for production, but can even take a solid minute to compile for dev, too. This isn't so bad until I need to work on unit tests. Developing angular unit tests for the application is painful because it has to recompile and then re-run the tests. How can I reduce the time it takes for the application to compile? There's GOT to be a way to get it down to 10 seconds.
Also, about half of the components don't change but every once in a while... If I were to modularize the components even more, would that make any impact on compile time? They're pretty deeply integrate with the app right now, so I hesitate to go to all the effort of breaking them out into a separate module unless I know I'm going to see some direct benefit. I use Webstorm for developing Angular applications. Is it possible to have the IDE automatically compile the changes of components into individual .js files, and then "ng build" is only responsible for webpacking?? (or something like that) Any other ideas on what can be done to improve compile performance? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.