Skip to Content

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

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    Thanks!

    Zoya

    Add comment
    10|10000 characters needed characters exceeded