Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlsherrill/1358a6287a7f1486b43a7a987c8e6b3c to your computer and use it in GitHub Desktop.
Save jlsherrill/1358a6287a7f1486b43a7a987c8e6b3c to your computer and use it in GitHub Desktop.
$ cat ~/bin/rails-start
#!/usr/bin/bash
cd ~/git/foreman
rm log/development.log
export DISABLE_SPRING=1
export NOTIFICATIONS_POLLING=999999
be puma -b 'tcp://0.0.0.0' -p 3000 #-w 1
#rails s -b '0.0.0.0'
$ cat ~/bin/foreman-start-webpack
#!/bin/bash
cd ~/git/foreman
export NOTIFICATIONS_POLLING=999999
BIND=0.0.0.0 ./node_modules/.bin/webpack-dev-server-without-h2 --watch-poll 1000 --disable-host-check --config config/webpack.config.js $WEBPACK_OPTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment