【发布时间】:2015-08-08 06:35:06
【问题描述】:
我有远程服务器(192.168.0.104)并在带有 win7 的笔记本电脑窗口计算机(192.168.0.100)上工作。 我为窗口安装咆哮。
服务器
var growl = require('gulp-notify-growl');
var growlnotifier = growl({
hostname: "192.168.0.100",
password: "test"
}, "TestApp");
growlnotifier.onError({
title: 'Compile Error',
message: '<%= error.message %>
});
笔记本电脑
点击安全
checked Require password for LAN apps
checked Allow network notification
checked Allow clients to subscribe to notifications
add "test" to Password Manager
在终端显示“编译错误”。
[15:17:43] gulp-notify: [Compile Error] Cannot find module
但通知不会出现在窗口中。
如何获取通知?
【问题讨论】:
标签: growl gulp-notify