diff --git a/app/package.json b/app/package.json index a8900e5..ace5941 100644 --- a/app/package.json +++ b/app/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "build": "webpack --mode production", - "clean": "rm -rf yarn.lock node_modules && yarn", + "clean": "rm -rf yarn.lock node_modules/* && yarn", "dev": "webpack --mode development", "docker": "yarn run build && docker build", "forcelatus": "pkgs=$(find node_modules/@latus -maxdepth 1 -mindepth 1 -printf '@latus/%f '); yarn upgrade $pkgs", @@ -12,7 +12,7 @@ "repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/latus-*.sock | tail -n 1)", "start": "NODE_ENV=production node build/index.js", "test": "mocha --watch src", - "watch": "webpack --hot --watch --mode development" + "watch": "NODE_PATH=./node_modules webpack --hot --watch --mode development" }, "dependencies": { "@latus/core": "2.0.0",