瀏覽代碼

scaffolding: recompile during init

Herby Vojčík 6 年之前
父節點
當前提交
7b4b238507
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      grunt-init-project/template.js

+ 1 - 1
grunt-init-project/template.js

@@ -130,7 +130,7 @@ exports.template = function (grunt, init, done) {
         props.scripts = {
             "reset": "npm run clean && npm run init",
             "clean": "(rm -rf bower_components || rd /s/q bower_components) && (rm -rf node_modules || rd /s/q node_modules)",
-            "init": "npm install && bower install && grunt devel",
+            "init": "npm install && bower install && grunt default devel",
             "test": "grunt test"
         };