Skip to Content

How to avoid installing node dependencies for each deploy in Web IDE?

Jul 21, 2017 at 09:16 AM


avatar image

Dear developers,

We started using Web IDE with grunt build. It seems to be very perspective idea but currently working with it is a pain as we have to wait couple minutes during each deploy for installing node dependencies.

If we execute grunt locally for same project same operation takes 20x less time.

Do you have any ideas how to disable reinstalling node moudles each time?

Thank you!

10 |10000 characters needed characters left characters exceeded

@michal.keidar Dear Michal, could you please assist in this? Thank you!


I will forward this question to my build colleagues.

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Zoya Pronyakova
Jul 23, 2017 at 04:32 PM

Hi Petr,

Node modules installation happens at first invocation of grunt build on project level. The next grunt build for the same project should not trigger modules re-installation but use the cached ones, unless, of course, the package.json was changed requiring new node modules.

Why do you think the node modules are re-installed?

Would be great if you can provide us a project content and the steps you perform, so we can reproduce the issue locally.



10 |10000 characters needed characters left characters exceeded