Skip to content
An Emacs mode for controlling webpack-dev-server
Emacs Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
webpack-dev-server.el Refactor core autoloads and expose real customize group Nov 10, 2018


Emacs mode to help you manage webpack-dev-server


Clone the package:

$ git clone

webpack-dev-server.el does not require any configuration. By default, you can load the mode and run M-x webpack-dev-server and everything will "just work" if webpack-dev-server is configured on your machine properly.

The following example shows how to customize webpack-dev-server.el with projectile:

(use-package webpack-dev-server
  :load-path "site-lisp/webpack-dev-server.el"
  :commands (webpack-dev-server)

  ;; Use any custom command to launch webpack
  (webpack-dev-server-command  "make webpack-dev-server")

  ;; Always run webpack-dev-server from projectile-project-root
  (use-package projectile :demand :ensure t)
  (setq webpack-dev-server-project-root (projectile-project-root))

  ;; Binding within projectile-mode-map is not required,
  ;; but I primarily use webpack-dev-server inside
  ;; projectile projects
  :bind (:map projectile-mode-map
              ("C-c w p" . webpack-dev-server)
              ("C-c w k" . webpack-dev-server-stop)
              ("C-c w b" . webpack-dev-server-browse)))



Let's connect:  ·  ·  GitHub  ·  Twitter

You can’t perform that action at this time.