You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose exec frontend sh -c "pkill -f gulp"||true
74
+
docker-compose exec frontend sh -c "cd /app && npm update && if which gulp; then echo Found gulp; else npm install -g gulp-cli; fi && gulp --env=prod"
75
+
76
+
npm-update:
77
+
echo Starting docker frontend build container
78
+
docker-compose up -d frontend
79
+
echo Running npm update
80
+
docker-compose exec frontend sh -c "cd /app && npm update"
81
+
82
+
#build the frontend and watch for changes, rebuilding when detected
83
+
frontend-watch:
84
+
echo Starting docker frontend build container
85
+
docker-compose up -d frontend
86
+
echo installing gulp if needed, and running gulp
87
+
docker-compose exec frontend sh -c "pkill -f gulp"||true
88
+
docker-compose exec frontend sh -c "cd /app && if which gulp; then echo Found gulp; else npm install -g gulp-cli; fi && gulp watch --env=dev"
89
+
90
+
#build the frontend and watch for changes, rebuilding code and reloading the browser when detected
91
+
frontend-reload:
92
+
echo Starting docker frontend build container
93
+
docker-compose up -d frontend
94
+
echo installing gulp if needed, and running gulp
95
+
docker-compose exec frontend sh -c "pkill -f gulp"||true
96
+
docker-compose exec frontend sh -c "cd /app && if which gulp; then echo Found gulp; else npm --no-color install -g gulp-cli; fi && gulp reload --env=dev"
// Where the cached tokenizers and divisors will go, if you change your data you'll need to clear this
44
-
cacheDir:="examples/jobs/training-cache"
46
+
cacheDir:="training-cache"
45
47
46
48
// We define data processors for the title, location, department, company_profile, description, and requirements. These names will be used for the tokenizer or divisor cache file
0 commit comments