/**
 * Compile:documentation task.
 * Create the extension documentation/styleguide.
 */

module.exports = function(grunt) {
	"use strict";

	grunt.registerTask("compile:docs", function() {
		// Create the living CSS styleguide.
		grunt.task.run("styleguide");

		// Prefix the docs stylesheet.
		grunt.task.run("autoprefixer:docs");

		// Compile the new stylesheets.
		grunt.task.run("compile:css:dev");
	});
};

/**
 * Compile:documentation task.
 * Create the extension documentation/styleguide.
 */

module.exports = function(grunt) {
	"use strict";

	grunt.registerTask("compile:docs", function() {
		// Prefix the docs stylesheet.
		grunt.task.run("autoprefixer:docs");

		// Compile the new stylesheets.
		grunt.task.run("compile:css:dev");

		// Create the living CSS styleguide.
		grunt.task.run("styleguide");
	});
};

Change the order of the docs compile task
[TASK] Change the order of the docs compile task

Since the styleguide is now based on top of the generated .css file
