1
当启动子玉CLI与ember serve --live-reload-port 4300
从Nitrous.io箱内服务器,恩贝尔CLI的构建过程输出脚本标记指向livereload.js localhost上,即<script src="http://localhost:4300/livereload.js?snipver=1" type="text/javascript"></script>
是否可以使用Ember CLI的Nitrous.io Live Reload?
脚本标签似乎被一个{{content-for 'head'}}
模板表达式生成app/index.html
文件中的某种文件。
那么,有没有办法让Ember CLI用不同的主机生成脚本标签?我知道我可以手动插入脚本标记,但Ember CLI也会生成元标记并且内容安全策略正在进行,所以我想知道是否有适当的方法。