Skip to content

Commit

Permalink
chore: 🤖 fix for shipjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Reese committed May 14, 2021
1 parent d16e565 commit d93d6bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/browser-reload/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const plugin = {
'Polls a websocket to make sure a server is up. If it is down, it keeps polling and restarts once the websocket is back up. Basically reloads the webpage automatically. ',
init: (plugin) => {
// used to store the data in the plugin's closure so it is persisted between loads

const notProd = process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'PRODUCTION';

plugin.run = !plugin.settings.build && notProd;
Expand Down

0 comments on commit d93d6bf

Please sign in to comment.