Commit 8705beca authored by Nicolas Pouillard's avatar Nicolas Pouillard

nix-shell add conveninence command to serve dist

parent f485f3cd
......@@ -35,6 +35,14 @@ let
'';
serve = pkgs.writeShellScriptBin "serve" ''
#!/usr/bin/env bash
set -e
yarn server
'';
build-watch = pkgs.writeShellScriptBin "build-watch" ''
#!/usr/bin/env bash
set -e
......@@ -110,6 +118,7 @@ pkgs.mkShell {
pkgs.minify
pkgs.nodejs
repl
serve
pkgs.pulp
pkgs.spago
pkgs.yarn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment