gradle-gulp-plugin icon indicating copy to clipboard operation
gradle-gulp-plugin copied to clipboard

gulpfile in one place and node modules in another folder. Will this work?

Open KumarSumitD opened this issue 6 years ago • 0 comments

HI , I think this question has been asked. But just wanted to confirm, if gulp is enhanced a solution. I have below structure - Projects

   |
   | ------local-modules
                       |
                       |---------node_modules
   |-------ProjectA
                  |
                  |------ gulpfile.js
  |-------ProjectB
                  |
                  |------ gulpfile.js

This way we have multiple projects, but i want to use only one node modules to speed up the build process through Jenkins, and make structure cleaner. I have tried multiple things -

  1. Went to gulp folder(node modules) and ran, node gulp.js --gulpfile . Local gulp not found
  2. Went to project folder where gulp file is available and ran, node <gulp.js location> . Local gulp not found

A quick response will be appreciated. TIA

Sumit

KumarSumitD avatar Mar 06 '18 05:03 KumarSumitD