Skip to content

Commit 130bcb7

Browse files
remove debugging statements
1 parent 4ed278c commit 130bcb7

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

spec/dummy/Procfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Procfile for development with hot reloading of JavaScript and CSS
22

3-
# rails: rails s -p 3000
3+
rails: rails s -p 3000
44

55
# Run the hot reload server for client development
66
webpack-dev-server: HMR=true bin/shakapacker-dev-server

spec/dummy/client/node-renderer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ const config = {
5757
// only 1-2 of them really needed.
5858
if (env.CI) {
5959
config.workersCount = 2;
60-
} else if (env.DEBUGGER) {
61-
config.workersCount = 1;
6260
}
6361

6462
reactOnRailsProNodeRenderer(config);

spec/dummy/config/webpack/serverWebpackConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const configureServer = () => {
110110
// eval works well for the SSR bundle because it's the fastest and shows
111111
// lines in the server bundle which is good for debugging SSR
112112
// The default of cheap-module-source-map is slow and provides poor info.
113-
serverWebpackConfig.devtool = 'source-map';
113+
serverWebpackConfig.devtool = 'eval';
114114

115115
// If using the default 'web', then libraries like Emotion and loadable-components
116116
// break with SSR. The fix is to use a node renderer and change the target.

spec/dummy/db/schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema[7.1].define(version: 2022_09_22_171805) do
13+
ActiveRecord::Schema[7.0].define(version: 2022_09_22_171805) do
1414
create_table "posts", force: :cascade do |t|
1515
t.integer "user_id"
1616
t.string "title"

0 commit comments

Comments
 (0)