diff --git a/Procfile b/Procfile index 22b7b65..e8f79ea 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: npx browser-sync start --server --files "*.html" --files "css/*.css" \ No newline at end of file +web: npm start \ No newline at end of file diff --git a/package.json b/package.json index 3041957..0499bf4 100644 --- a/package.json +++ b/package.json @@ -32,9 +32,10 @@ "deploy": "npm run css-deploy && npm run js-build", "js-build": "babel _javascript --out-dir lib", "js-watch": "npm run js-build -- --watch", - "start": "npm-run-all --parallel css-watch js-watch" + "auto-loading": "npx browser-sync start --server --files '*.html' --files 'css/*.css'", + "start": "npm-run-all --parallel css-watch js-watch auto-loading" }, "dependencies": { "browser-sync": "^2.26.3" } -} +} \ No newline at end of file