diff --git a/Makefile b/Makefile index f65524f..98a7c80 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ clean: build: npm audit - npm install + npm clean-install npm run build dist: clean build diff --git a/setup.py b/setup.py index f9d5542..7975324 100755 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ class compile_nodejs(Command): def run(self): if os.path.exists('dist/css'): - subprocess.check_call('npm install', shell=True) + subprocess.check_call('npm clean-install', shell=True) subprocess.check_call('npm run build', shell=True) if os.path.exists('xstatic/pkg/godo/data'): shutil.rmtree('xstatic/pkg/godo/data')