第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

542527480001a48903700059.jpg

按照視頻代碼來(lái)寫的,但無(wú)法啟動(dòng)node服務(wù)器,請(qǐng)問(wèn)還有什么地方需要配置嗎?

正在回答

4 回答

module.exports = function(grunt) {


grunt.initConfig({

pkg: grunt.file.readJSON('package.json'),

watch : {

jade : {

files : ['view/**'],

options : {

livereload : true

}

},

js : {

files : ['punlic/js/**', 'models/**/*.js', 'sechemas/**/*.js'],

//task : ['jshint'],

options : {

livereload : true

}

}

},

nodemon : {

dev : {

options : {

files : "app.js",

script:'app.js',

args : [],

ignoredFiles : ['README.md', 'node_modules/**', '.DS_Store'],

watchedExtensions : ['js'],

watchedFolders : ['app', 'config'],

debug : true,

delayTime : 1,

env : {

PORT : 3000

},

cwd : __dirname

}

}

},

concurrent : {

task : ['nodemon', 'watch'],

options : {

logConcurrentOutput : true

}

}

})


grunt.loadNpmTasks('grunt-contrib-watch');

grunt.loadNpmTasks('grunt-nodemon');

grunt.loadNpmTasks('grunt-concurrent');

grunt.option('force', false);

grunt.registerTask('default', ['concurrent'])

}


0 回復(fù) 有任何疑惑可以回復(fù)我~

你得把你整個(gè) grunt file 文件配置代碼貼出來(lái),大家才好幫你鎖定是哪里除了問(wèn)題

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

hacke2

module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), watch : { jade : { files : ['view/**'], options : { livereload : true } }, js : { files : ['punlic/js/**', 'models/**/*.js', 'sechemas/**/*.js'], //task : ['jshint'
2014-09-29 回復(fù) 有任何疑惑可以回復(fù)我~

可是我加上了,,node也沒(méi)啟動(dòng)。。就輸出個(gè):Running "concurrent:tasks" (concurrent) task?

然后后面就什么也沒(méi)有。。。

0 回復(fù) 有任何疑惑可以回復(fù)我~

542529280001d21003090353.jpg加上這個(gè)就好了。樓下的提點(diǎn)。

2 回復(fù) 有任何疑惑可以回復(fù)我~
#1

Neal_Shan

thanks, yo!
2014-09-27 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
node建站攻略(二期)——網(wǎng)站升級(jí)
  • 參與學(xué)習(xí)       51926    人
  • 解答問(wèn)題       422    個(gè)

幫助你深入前后端開(kāi)發(fā)留下的迷惑,為進(jìn)一步自學(xué)打下基礎(chǔ)

進(jìn)入課程
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)