srs / gradle-gulp-plugin

Gradle plugin for running Gulp tasks
70 stars 9 forks source link

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

Open KumarSumitD opened 6 years ago

KumarSumitD commented 6 years ago

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 . Local gulp not found

A quick response will be appreciated. TIA

Sumit