Open felixf4xu opened 6 months ago
Hot reloading also seems broken when running from a container (ghcr.io/swiftwasm/carton:latest
, which is 0.20.1
).
It is the same with the older carton images 0.20.0
and 0.19.1
.
Carton logs:
Watching these directories for changes:
/test/Sources/test
/test/Sources/testLibrary
But when I change or add a file - either from inside or outside of the container - nothing is logged and no refresh of the webpage happens.
OS: Manjaro 23.1.3
Running the container with:
podman run --rm -v .:/test -p 0.0.0.0:8080:8080 -it ghcr.io/swiftwasm/carton:latest /bin/bash
.
Running carton dev --host 0.0.0.0 -v
inside the container.
Version 1.0 rewrote the dev
server. Could you try again with the new version?
I'm having the same issue with
docker run -v .:/src --privileged --interactive --tty --name swift-experiments -p 8080:8080 swift:5.9.2 /bin/bash
and then running
swift run carton dev --host 0.0.0.0 -v
from inside the container. My Package.resolved
suggests that I'm running carton 1.0.3. The swift:5.9.2
docker image is based on Ubuntu "jammy" 22.04.4.
Hi,
I'm trying to test the hot reload (with Ubuntu 22).
When I run
carton dev -v
, I got this:Then I tried to edit
App.swift
like this:but nothing happened on the web page (google chome).
Only after I stop
carton dev
and re-run it, I can see the updatedText
.