Add a tool to monitor and re-run the client build process
The Javascript ecosystem is rubbish.
This commit is contained in:
parent
d601c8feeb
commit
522f7eb65b
|
@ -26,6 +26,7 @@
|
||||||
name = "ld-tools-devshell";
|
name = "ld-tools-devshell";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.clang
|
pkgs.clang
|
||||||
|
pkgs.entr
|
||||||
pkgs.glade
|
pkgs.glade
|
||||||
pkgs.gtk4
|
pkgs.gtk4
|
||||||
pkgs.nodejs
|
pkgs.nodejs
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "browserify src/main.ts -p [ tsify ] > dist/bundle.js",
|
"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 <savanni@luminescent-dreams.com>",
|
"author": "Savanni D'Gerinel <savanni@luminescent-dreams.com>",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
|
Loading…
Reference in New Issue