From 19ce377ee9863639afeca774ccdfb9c5e6a4e2ea Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Mon, 3 Dec 2018 13:32:00 -0800 Subject: [PATCH] Adds reflex config --- .reflex | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .reflex diff --git a/.reflex b/.reflex new file mode 100644 index 00000000..0aa7f08a --- /dev/null +++ b/.reflex @@ -0,0 +1 @@ +-r '\.go$' -R '^node_modules/' -R '^static/' -R '^.cache/' -G '*_test.go' -s -- go run main.go --level debug diff --git a/package.json b/package.json index eee3c818..a21d6107 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "prestart": "npm run clean", "start": "DOCKER_API_VERSION=1.38 concurrently 'npm run watch-server' 'npm run watch-assets'", "watch-assets": "parcel watch --public-url '__BASE__' assets/index.html -d static", - "watch-server": "reflex -r '\\.go$' -R '^node_modules/' -R '^static/' -R '^.cache/' -G '*_test.go' -s -- go run main.go --level debug", + "watch-server": "reflex -c .reflex", "prebuild": "npm run clean", "build": "parcel build --no-source-maps --public-url '__BASE__' assets/index.html -d static", "clean": "rm -rf static/ a_main-packr.go",