Tag: 手表

Sass – 手表不重新编译

当我保存对build.scss更改时,Sass会更新我的主样式表build.css ,但是当我将更改保存到任何部分时,不会更新build.css ,例如_grid-settings.scss 。 每次我对部分进行更改时,我必须手动重新保存build.scss ,以便Sass检测到更改。 从我的终端: Justins-MacBook-Air:ageneralist justinbrown$ sass –watch stylesheets:stylesheets >>> Sass is watching for changes. Press Ctrl-C to stop. write stylesheets/build.css [Listen warning]: Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback. 我的目录是: stylesheets/ ├── base │ └── _base.scss ├── build.css ├── build.scss ├── layout │ └── _layout.scss └── vendor ├── […]

服务器上未收到日历事件通知

我正在尝试观看谷歌日历活动。 我写了这段代码: def watch_calendar_event result = @client.execute( api_method: @calendar_api.events.watch, parameters: { calendarId: ‘primary’ }, body_object: watch_hash, headers: {‘Content-Type’ => ‘application/json’} ) if result.status == 200 watch_data = result.data @calendar.update booking_expiration: watch_data.expiration, booking_id: watch_data.id, booking_resource_id: watch_data.resourceId, booking_resource_uri: watch_data.resourceUri, watching_event: true end rescue Exception => ex raise GoogleCalendarException, ex.message end 我正在获得200条成功消息,其中包括booking_id,resource_id和resourceUri等其他详细信息。 但是当我在谷歌日历上创建一个新事件时,我没有在我的服务器上收到任何通知。 任何想法可能是什么原因。 另请注意,我已经完成了他们在此处提出的所有问题,并且我还为此配置了https服务器。 我的webhookurl如下: https ://dev.application.com/notifications我也为此打开了路线。 […]