Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Update esbuild configuration for HMR (#194)
Browse files Browse the repository at this point in the history
Co-authored-by: Chuck Smith <[email protected]>
  • Loading branch information
eclectic-coding and eclecticCodingND committed Mar 27, 2023
1 parent ca0251e commit 45ea464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
web: bin/rails server -p 3000
worker: bundle exec sidekiq
js: yarn build --watch
js: yarn build --reload
css: yarn build:css --watch
2 changes: 1 addition & 1 deletion template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def default_to_esbuild
end

def add_javascript
run "yarn add local-time esbuild-rails trix @hotwired/stimulus @hotwired/turbo-rails @rails/activestorage @rails/ujs @rails/request.js"
run "yarn add local-time esbuild-rails trix @hotwired/stimulus @hotwired/turbo-rails @rails/activestorage @rails/ujs @rails/request.js chokidar"
end

def copy_templates
Expand Down

0 comments on commit 45ea464

Please sign in to comment.