-
-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't pretty format JSON in development #789
Conversation
Temp fix given that a hash may contain active record objects and that crashed with the call to JSON.pretty_generate
This will be properly fixed by: #787 |
@@ -73,7 +73,7 @@ | |||
"build:dev:server": "webpack -w --config webpack.server.rails.build.config.js", | |||
"build:server": "webpack --config webpack.server.rails.build.config.js", | |||
"hot-assets": "babel-node server-rails-hot.js", | |||
"install-react-on-rails": "npm i --save 'file:../../..'" | |||
"install-react-on-rails": "rm -rf node_modules/react-on-rails && npm i 'file:../../..'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does rm -rf return truthy here?
b1bc903
to
fb39bc2
Compare
Changes Unknown when pulling fb39bc2 on temp-fix-serialization-development into ** on master**. |
hmmmm. I guess it could be properly fixed by replacing
with
(and reverting this patch). |
Temp fix given that a hash may contain active record objects and that
crashed with the call to JSON.pretty_generate
This change is