diff --git a/user/app/doom-emacs/doom.nix b/user/app/doom-emacs/doom.nix index 02e413b..2872ac9 100644 --- a/user/app/doom-emacs/doom.nix +++ b/user/app/doom-emacs/doom.nix @@ -32,7 +32,8 @@ recursive = true; onChange = " pushd ~/.emacs.d/eaf/app/browser; - npm install darkreader @mozilla/readability; + rm package*.json; + npm install darkreader @mozilla/readability && rm package*.json; popd; "; }; diff --git a/user/bin/phoenix.nix b/user/bin/phoenix.nix index 3abd14d..f20d1e7 100644 --- a/user/bin/phoenix.nix +++ b/user/bin/phoenix.nix @@ -17,6 +17,10 @@ let killall xmobar; xmonad --recompile && xmonad --restart; emacsclient --no-wait --eval "(load-theme 'doom-stylix t nil)"; + pushd ~/.emacs.d/eaf/app/browser; + rm package*.json; + npm install darkreader @mozilla/readability && rm package*.json; + popd; fi elif [ "$1" = "update" ]; then pushd ''+myDotfilesDir+'';