Check whether grunt.option('dev') comes is as string or int.