diff --git a/flake.nix b/flake.nix index 0ae7851..61120b8 100644 --- a/flake.nix +++ b/flake.nix @@ -30,6 +30,7 @@ pkgs.openssl pkgs.pkg-config pkgs.nodejs + pkgs.entr rust ]; LIBCLANG_PATH="${pkgs.llvmPackages.libclang.lib}/lib"; diff --git a/music-player/client/package.json b/music-player/client/package.json index afd7fe8..0034ed0 100644 --- a/music-player/client/package.json +++ b/music-player/client/package.json @@ -5,7 +5,8 @@ "main": "main.js", "scripts": { "build": "browserify src/main.ts -p [ tsify ] > dist/bundle.js", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "watch": "exa index.html styles.css src/* | entr -s 'npm run build'" }, "author": "Savanni D'Gerinel ", "license": "GPL-3.0-or-later",