File tree 4 files changed +8
-1
lines changed
4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ esbuild : npm run watch
2
+ server : bin/rails server -p 3000
Original file line number Diff line number Diff line change
1
+ overmind start
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ import { Application } from "@hotwired/stimulus"
5
5
import HelloController from "./controllers/hello_controller"
6
6
7
7
window . Stimulus = Application . start ( )
8
- Stimulus . register ( "hello" , HelloController )
8
+ Stimulus . register ( "hello" , HelloController )
Original file line number Diff line number Diff line change 4
4
"@hotwired/turbo-rails" : " ^7.1.1" ,
5
5
"@rails/request.js" : " ^0.0.6" ,
6
6
"esbuild" : " ^0.14.25"
7
+ },
8
+ "scripts" : {
9
+ "watch" : " esbuild javascript/application.js --outfile=app/assets/javascript/playground/application.js --bundle --watch" ,
10
+ "build" : " esbuild javascript/application.js --outfile=app/assets/javascript/playground/application.js --bundle"
7
11
}
8
12
}
You can’t perform that action at this time.
0 commit comments