Script bundle for jstris, notably:
- 1v1 skill-based matchmaking
- added graphic effects
- many QOL and layout improvements
(uses webpack-userscript template)
- Add the
devLoader.user.jsuserscript. - Run
npm run devto spin up the webpack server. - Refresh the page and make sure the dev loader script is on.
- Making changes to any of the files will refresh the page and the script.
- Run
npm ito ensure all packages are properly installed - Run
npm run pack - Your userscript is in
build/bundle.user.js - Unpacked versions of extensions will be in
build/jstris-plus-chromeandbuild/jstris-plus-firefox
Most likely the maximum number of watchers is surpassed.
Try adding fs.inotify.max_user_watches=524288 to /etc/sysctl.conf and execute sysctl -p.
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p