@m00rl0ck/simple-builder 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dev-server.js +3 -1
  2. package/package.json +1 -1
package/dev-server.js CHANGED
@@ -112,7 +112,9 @@ const server = http.createServer((req, res) => {
112
112
  // ======================
113
113
 
114
114
  function runServer({ isProd }) {
115
- build({ watch: true, isProd })
115
+ const watch = !isProd;
116
+
117
+ build({ watch, isProd });
116
118
 
117
119
  server.listen(PORT, () => {
118
120
  console.log(`\nšŸš€ Dev server running: http://localhost:${PORT}\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m00rl0ck/simple-builder",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "Zero-dependency JS and CSS bundler with dev server and minifier",
5
5
  "type": "module",
6
6
  "main": "index.js",