Skip to content
This repository has been archived by the owner on Dec 3, 2020. It is now read-only.

Commit

Permalink
Add a description to the dev_server Rake Task
Browse files Browse the repository at this point in the history
  • Loading branch information
danott committed Jul 4, 2016
1 parent df3604b commit 9bbda7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/webpack_rails_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace :webpack_rails do
sh "./node_modules/.bin/webpack -p --config webpack.precompile.js"
end

desc "Run the webpack dev server"
task dev_server: :write_asset_paths_json do
sh "./node_modules/.bin/webpack-dev-server --port #{WebpackRails.config.dev_server_port}"
end
Expand Down

0 comments on commit 9bbda7b

Please sign in to comment.