'yarn dev' not: (1) rebuilding css changes, (2) reloading changes in browser

In the end:

  1. app.setUrl() CANNOT be set to port 80 (e.g., must be http://localhost:3001, not http://localhost)
  2. For WSL users, to enable port forwarding (thanks to this post, which contains more details):
    Add the following to : C:\Users\“you”.wslconfig with the following content (yes in Windows folders)
  3. Would likely work on Windows Vagrant given #1 above with proper Vagrant port forwarding.
[wsl2]
localhostForwarding=true

(#1 perhaps should be added to the Roots Bud/Sage docs. #2 was difficult find, not in /etc/hosts as the Stack Overflow author observed.)

1 Like