2015-03-26 16:15 grunt[5684] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
用grunt的时候出现了这个问题。
module.exports = function (grunt) { //配置模块参数 grunt.initConfig({ cssmin: { minify: { expand: true, cwd: "/", src: ["**/*.css","**/!*.min.css"], dest: "/", ext: ".min.css" } }, jshint: { options: { trailing: true }, files: ["**/*.js"] }, uglify: { options: { sourceMap: true }, target : { expand: true, cwd: 'js/origin', src : '*.js', dest : '/' } }, watch: { scripts: { files: "**/*.js", tasks: ["jshint","uglify"] }, css: { files: "**/*.css", tasks: ["cssmin"] } } }); require("load-grunt-tasks")(grunt); grunt.registerTask("default",["watch"]); };