Procházet zdrojové kódy

enable live reload

v.shebanov před 4 roky
rodič
revize
e949f0676f
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 1 1
      web/package.json
  2. 1 0
      web/public/index.html

+ 1 - 1
web/package.json

@@ -26,7 +26,7 @@
     "build": "react-app-rewired build",
     "test": "react-app-rewired test",
     "eject": "react-scripts eject",
-    "postinstall": "curl https://gobinaries.com/Termina1/sorvor@v0.4.4 | PREFIX=./node_modules/.bin sh ",
+    "postinstall": "curl https://gobinaries.com/Termina1/sorvor@v0.4.5 | PREFIX=./node_modules/.bin sh ",
     "chadpack": "sorvor --serve ./public/index.html --loader:.js=jsx  --loader:.png=file --loader:.svg=file --inject:./react-shim.js --port=3000 --outdir=./build",
     "chadpack-prod": "sorvor ./public/index.html --loader:.js=jsx  --loader:.png=file --loader:.svg=file --inject:./react-shim.js --outdir=./build"
   },

+ 1 - 0
web/public/index.html

@@ -11,6 +11,7 @@
     />
     <link rel="apple-touch-icon" href="{{ copy "./logo192.png" }}" />
     <link rel="manifest" href="{{ copy "./manifest.json" }}" />
+    {{ livereload }}
     <title>Chad music</title>
   </head>
   <body>