bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.88k stars 210 forks source link

Synchronous XHR in _loadFileSync deprecated #629

Open gtzo opened 6 years ago

gtzo commented 6 years ago

Chrome 63.0.3239.84 refuses to allow Closure to load files in _loadFileSync via XHR. Opening the dev tools reveals:

[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

As a result, no connection is made to the REPL.

johnmn3 commented 6 years ago

Webworkers are still allowed to make synchronous XHRs... But now you have two problems ;)