Create React App does not provide watching build mode oficially (#1070).
This script provides watching build mode for an external tool such as Chrome Extensions or Firebase app.
Create a React app.
Put the script into scripts/watch.js.
| server { | |
| server_name testdeploy.rocketseat.com.br; | |
| location / { | |
| proxy_pass http://127.0.0.1:3333; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection 'upgrade'; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; |
| # mssql-agent-fts-ha-tools | |
| # Maintainers: Microsoft Corporation (LuisBosquez and twright-msft on GitHub) | |
| # GitRepo: https://github.com/Microsoft/mssql-docker | |
| # Base OS layer: Latest Ubuntu LTS + mssql-server-linux (SQL Server engine + tools) | |
| FROM microsoft/mssql-server-linux | |
| #Install curl since it is needed to get repo config | |
| # Get official Microsoft repository configuration | |
| RUN export DEBIAN_FRONTEND=noninteractive && \ |
Create React App does not provide watching build mode oficially (#1070).
This script provides watching build mode for an external tool such as Chrome Extensions or Firebase app.
Create a React app.
Put the script into scripts/watch.js.