We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b283308 + b67c9a4 commit a457ba3Copy full SHA for a457ba3
3 files changed
webapp/package.bak
webapp/geppetto_ui.sh webapp/scripts/setup_geppetto_ui.shwebapp/geppetto_ui.sh renamed to webapp/scripts/setup_geppetto_ui.sh
@@ -1,11 +1,20 @@
1
#!/bin/sh
2
3
-set -e
+trap ctrl_c INT
4
+
5
+ctrl_c() {
6
+ echo "### Stopping dev server ###"
7
+ mv package.json dev_package.json
8
+ mv package.bak package.json
9
+ exit 0
10
+}
11
12
+#set -e
13
14
rm -rf node_modules
15
rm -rf yarn.lock
-cp package.json package.bak
-cp dev_package.json package.json
16
+mv package.json package.bak
17
+mv dev_package.json package.json
18
19
yarn global add yalc
20
@@ -33,3 +42,5 @@ cd $app
33
42
yalc add @metacell/geppetto-meta-client
34
43
yalc add @metacell/geppetto-meta-core
35
44
yalc add @metacell/geppetto-meta-ui
45
46
+yarn && yarn run start
webapp/update-geppetto-ui.sh webapp/scripts/update-geppetto-ui.shwebapp/update-geppetto-ui.sh renamed to webapp/scripts/update-geppetto-ui.sh
0 commit comments