You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But refreshing the page doesn't work, since I'm immediately redirected to http://localhost:12345/scalajs-react-template/, which doesn't exist, so each refresh fails with the error message The requested resource could not be found.. I tried on both the latest Firefox and Chrome and the behavior is the same. Since refreshing doesn't work, my current workaround is manually opening http://localhost:12345/index.html after every code change.
I'm not sure whether this template supports hot reload (auto refresh upon code change) or not, but if it does then it's not working for me either. After every code change ~fastOptJS runs and successfully produces an updated js/scalajs-react-template-opt.js file. But nothing occurs on the browser end.
The text was updated successfully, but these errors were encountered:
@DesDiv you need to add this line <script type="text/javascript" src="./workbench.js"></script> to the index.html file as documented on the workbench plugin page
HTH
Running the project with
sbt ~fastOptJS
and going to http://localhost:12345/index.html works perfectly fine.But refreshing the page doesn't work, since I'm immediately redirected to http://localhost:12345/scalajs-react-template/, which doesn't exist, so each refresh fails with the error message
The requested resource could not be found.
. I tried on both the latest Firefox and Chrome and the behavior is the same. Since refreshing doesn't work, my current workaround is manually opening http://localhost:12345/index.html after every code change.I'm not sure whether this template supports hot reload (auto refresh upon code change) or not, but if it does then it's not working for me either. After every code change
~fastOptJS
runs and successfully produces an updatedjs/scalajs-react-template-opt.js
file. But nothing occurs on the browser end.The text was updated successfully, but these errors were encountered: