Skip to content
Snippets Groups Projects
Commit 3a964351 authored by Marius Friess's avatar Marius Friess
Browse files

Fix polling on windows (potentially)

parent 33229460
No related branches found
No related tags found
No related merge requests found
.vscode
.env
\ No newline at end of file
.env
.DS_Store
\ No newline at end of file
#!/bin/sh
cp ./backend/.env.docker.example ./backend/.env
cp ./frontend/.env.example ./frontend/.env
\ No newline at end of file
cp ./frontend/.env.example ./frontend/.env
# Ueberpruefe, ob das Betriebssystem Windows ist
if [ "$(uname -s)" = "MINGW"* ] || [ "$(uname -s)" = "CYGWIN"* ] || [ "$(uname -s)" = "MSYS"* ]; then
echo 'CHOKIDAR_USEPOLLING=true' >> ./frontend/.env
else
echo 'CHOKIDAR_USEPOLLING=false' >> ./frontend/.env
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment