mastodon/config/webpack
aschmitz 2076c557c9 Configure webpack to poll for changes in development (#5040)
* Configure webpack to poll for changes in development

Vagrant on Linux/macOS hosts shared files via NFS, which doens't
support inotify-based watching of files. This tweak makes webpack
check for changes every second, and rebuild if necessary. This
removes the need to restart Foreman every time a frontend file
changes. Note that rebuilding is still a relatively lengthy
process.

The polling frequency can be changed to taste.

* Only poll in Vagrant

This tests for the presence of the VAGRANT environment variable to
determine whether or not we're in Vagrant. It is set in .env.vagrant,
which is set up to be included in the Vagrantfile.
2017-10-04 09:52:11 +02:00
..
loaders Disable babel-loader cache when development environment (#4684) 2017-08-24 19:27:52 +02:00
configuration.js Add support for multiple themes (#4959) 2017-09-19 16:36:23 +02:00
development.js Configure webpack to poll for changes in development (#5040) 2017-10-04 09:52:11 +02:00
generateLocalePacks.js
production.js Remove hash from chunk filename when dev env (#4411) 2017-07-28 05:14:01 +02:00
shared.js Add support for multiple themes (#4959) 2017-09-19 16:36:23 +02:00
test.js
translationRunner.js Fix regular expression for RFC 5646 (regression from #3604) (#4133) 2017-07-10 14:02:18 +02:00