From b4532bf9f78133d77ab609cebcd2af63e29b626c Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Mon, 3 Dec 2018 13:26:17 -0800 Subject: [PATCH] Fixes npm watch --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a44b88fc..eee3c818 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 -g '**/*.go' -R '^node_modules/' -R '^static/' -R '^.cache/' -G '*_test.go' -s -- go run main.go --level debug", + "watch-server": "reflex -r '\\.go$' -R '^node_modules/' -R '^static/' -R '^.cache/' -G '*_test.go' -s -- go run main.go --level debug", "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",