Nitrous的Live-Reload

时间:2015-09-08 19:19:54

标签: ember.js nitrousio

我无法在nitrous.io上运行的Ember应用程序中使用实时重新加载。我收到以下错误消息:

[Report Only] Refused to load the script 
'http://ember-js-126346.nitrousapp.com:49152/livereload.js?snipver=1' 
because it violates the following Content Security Policy directive: 
"script-src 'self' 'unsafe-eval' localhost:49152 0.0.0.0:49152 
localhost:49152 0.0.0.0:49152".

screenshot of the error message

在此设置中,我需要更改哪些内容才能进行实时重新加载?

1 个答案:

答案 0 :(得分:2)

尝试更新https://github.com/rwjblue/ember-cli-inject-live-reload并确保设置EMBER_CLI_INJECT_LIVE_RELOAD_HOST