koltyakov / generator-sppp

🐾 SP Pull-n-Push - Yeoman generator for SharePoint client-side applications
MIT License
64 stars 12 forks source link

custom task are not working when created in the ./buils/tasks as per Documentations. #18

Closed JCol79 closed 6 years ago

JCol79 commented 6 years ago

...looking at the ./gulpfile.js line 26. It looks as 'sp-build-tasks' is being configured to look taskPath: './tools/tasks' instead './build/tasks',

generated ./gulpfile.js warns against modifying this file directly so I created .\tools\tasks\example.js and ran 'gulp example' to test as well as 'gulp --tasks' and it worked.

koltyakov commented 6 years ago

Thanks, @JCol79! Published a fix.