Closed
Description
This will not cause a problem with vast majority of applications, but could if someone changes the state of something global in the rakefile.
This also differs with most other rake tasks in that running webpack:install or yarn:install will only load the rakefile once.
Reproduction
rails new foo
cd foo
add puts 'In Rakefile'
to top line of Rakefile
bin/rails importmap:install
Expected
Code runs
In Rakefile
normal output
Actual
In Rakefile
In Rakefile
normal output
Metadata
Metadata
Assignees
Labels
No labels