diff --git a/Procfile.dev b/Procfile.dev index aec79c6f..bd494ae8 100644 --- a/Procfile.dev +++ b/Procfile.dev @@ -1,4 +1,4 @@ web: unset PORT && bin/rails server worker: bundle exec sidekiq css: yarn build:css --watch -js: yarn build:js --watch +js: yarn build --watch diff --git a/package.json b/package.json index e8539bdf..39f7025e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "scripts": { "lint": "yarn run eslint --ext .ts app/javascript", "lint:fix": "yarn run eslint --ext .ts app/javascript --fix", - "build:js": "esbuild app/assets/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=assets", + "build": "esbuild app/assets/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=assets", "build:css": "sass ./app/assets/stylesheets/application.sass.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules" }, "dependencies": {