Closed mobihunterz closed 7 years ago
I'm not reading through all of that, but I'm going to guess that you don't have your tasks set up correctly.
Please read through the usage section and make sure all of your tasks are configured correctly.
@OverZealous I have properly implemented usage section, still same issue. If usage section was not properly implemented, terminal also should not work. Here the issue is task from terminal works fine while running from node.js gives such issue.
Honestly, I have no idea what you are saying here. This is way too much information to expect someone to go through on a FOSS library.
Try to reduce your issue down to something that's only a few lines long. Most likely you'll discover what's wrong just in reducing it.
No matter what, I doubt it's an issue with run-sequence
. 99.9% of the issues reported here are improper gulp configuration, an issue with a gulp plugin, or something else.
Having not heard back, I'm closing this.
I have a project in node.js for which I want to automate some backup and revision tasks in GULP.
I am able to successfully test following gulp code in terminal and everything working perfectly. The issue comes when I run gulp task from node.js code.
gHelper.json: Listing files which needs to be revised. Everything else will be copied to destination directory.
Basic folder structure:
When gulp task revback is invoked a folder live will be generated and added inside MainFolder. Again when revback is invoked, first,
backup/{timestamp}
folder will be generated taking backup of revised files only and then revision is made for live folder.Lets see code from Node.js:
/* Publish client */
rev-manifest.json
is created at proper place means inside MainFolder.Below is content of rev-manifest.json:
The main problem is callbacks are not properly called. Only sometimes, gulp code executes perfect and callback for "rereplace" is not being called and thus rev-replace is not being in action. So, reference from HTML files are not being updated.
Please hint me anything about the issue.