diff --git a/tasks/cucumber.js b/tasks/cucumber.js
index <HASH>..<HASH> 100644
--- a/tasks/cucumber.js
+++ b/tasks/cucumber.js
@@ -41,6 +41,10 @@ module.exports = function(grunt) {
 
         var commands = [];
 
+        if (grunt.option('rerun')) {
+            commands.push(grunt.option('rerun'));
+        }
+
         if (options.executeParallel && options.workers) {
             commands.push('-w', options.workers);
         }
rerun the cucumber failed scenario. Pass the path of @rerun.txt file