Skip to content

Commit

Permalink
Merge pull request #604 from arifszn/update-nix-file
Browse files Browse the repository at this point in the history
Update nix file
  • Loading branch information
arifszn committed May 15, 2024
2 parents 02de34d + 73cbebd commit fa4d7cd
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .idx/dev.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{pkgs}: {
{ pkgs, ... }: {
channel = "stable-23.11";
packages = [
pkgs.nodejs_20
];
idx.extensions = [];
idx.previews = {
env = {};
idx = {
extensions = [];
workspace = {
onCreate = {
npm-install = "npm install";
};
};
previews = {
web = {
command = [
"npm"
"run"
"dev"
"--"
"--port"
"$PORT"
"--host"
"0.0.0.0"
];
manager = "web";
enable = true;
previews = {
web = {
command = ["npm" "run" "dev" "--" "--port" "$PORT" "--host" "0.0.0.0"];
manager = "web";
};
};
};
};
}
}

0 comments on commit fa4d7cd

Please sign in to comment.