mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 06:23:39 +08:00
DEV: Run yarn install
when running bin/ember-cli
(#13102)
Some people have noticed that if we change the packages in package.json that they have to manually run `yarn install` or Discourse won't work. This adds `yarn install` to the `bin/ember-cli` helper we run. It seems quite fast if there is nothing to install so it shouldn't hurt to do this every time we start the server.
This commit is contained in:
parent
e1b99d3cad
commit
f165f98cf7
|
@ -43,4 +43,5 @@ if !args.include?("--proxy")
|
|||
args << PROXY
|
||||
end
|
||||
|
||||
system "yarn install --cwd #{yarn_dir}"
|
||||
exec "yarn", *args.to_a.flatten
|
||||
|
|
Loading…
Reference in New Issue
Block a user