Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
chore: update build command (#62)
Browse files Browse the repository at this point in the history
* chore: update build command

* chore: maybe fix?

* chore: remove build from dev server

* chore: revert initial changes
  • Loading branch information
harish-sethuraman authored Jun 25, 2022
1 parent 3a6e984 commit 1794e7c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"build:sass": "sass --style=compressed src/assets/scss:src/assets/css --no-source-map",
"build:eleventy": "eleventy --quiet",
"build:webpack": "webpack --mode=production --progress",
"prestart": "npm run build",
"start": "node tools/dev-server.js",
"build": "npm-run-all install:playground build:sass build:eleventy build:webpack images",
"lint": "eslint --ext=.js,.jsx .",
Expand Down
1 change: 1 addition & 0 deletions tools/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ app.get("*", async (req, res, next) => {
// 404 Handler
app.use((req, res) => res.status(404).sendFile(path.join(__dirname, "../_site/404.html")));
app.listen(PORT, () => {
spawnChildProcess("npm", ["run", "build:sass"]);
spawnChildProcess("npm", ["run", "watch:sass"]);
spawnChildProcess("npm", ["run", "watch:webpack"]);
spawnChildProcess("npm", ["run", "watch:eleventy"]);
Expand Down

0 comments on commit 1794e7c

Please sign in to comment.