api-platform / api-platform/create-client

React client files changes doesn't work without restarting Docker container

未關閉
#122 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
376
分支
132
PR 合併指標
30 天內沒有已合併 PR

描述

Hi!

First of all, thanks a lot for your awesome work with API Platform! :)

I have a problem with the React client:

After generating the client with this command (from website tutorial): `docker-compose exec client generate-api-platform-client` (no problem all files are generated and no error message), I edited the **client/src/index.js** as it's mentioned in the doc but when I add modifications, save the file, and reload the page (_https://localhost/books/_), "Not Found" is displayed.
Same thing when I edit **client/src/Welcome.js** file (add two exclamation points for example): nothing change.
I have to stop the client container, and restart it to see my changes :/

Do you see where is the problem?

I'm on Windows 10 with Docker for Windows (latest version).

Don't hesitate to ask me further information!

Thanks ;)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。