You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
7 years ago
..
loaders Disable babel-loader cache when development environment (#4684) 7 years ago
configuration.js Add support for multiple themes (#4959) 7 years ago
development.js Configure webpack to poll for changes in development (#5040) 7 years ago
generateLocalePacks.js Add quotes ESLint rules (#3602) 8 years ago
production.js Remove hash from chunk filename when dev env (#4411) 8 years ago
shared.js Add support for multiple themes (#4959) 7 years ago
test.js Improve eslint rules (#3147) 8 years ago
translationRunner.js Fix regular expression for RFC 5646 (regression from #3604) (#4133) 8 years ago