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",