We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc6262 commit e9160bdCopy full SHA for e9160bd
priv/static/phoenix_live_reload.js
@@ -114,7 +114,10 @@ class LiveReloader {
114
this.channel.push("full_path", {rel_path: file, app: app})
115
.receive("ok", ({full_path}) => {
116
console.log("full path", full_path)
117
- let url = this.editorURL.replace("__FILE__", full_path).replace("__LINE__", line)
+ let url = this.editorURL
118
+ .replace("__RELATIVEFILE__", file)
119
+ .replace("__FILE__", full_path)
120
+ .replace("__LINE__", line)
121
window.open(url, "_self")
122
})
123
.receive("error", reason => console.error("failed to resolve full path", reason))
0 commit comments